Escape backticks and $ in saved environment so they are preseved from one save to the next