Scrub keys, set env variables for tutorial