Set the autostart env variables in the control script