add the save and echo commands