changing env_vars to environment