change the environment of running