using environment to specify environment, instead of storing it in the environment file