Update to use previous enviroment variables.