Renamed local_envs to be more readable