Thought we were bringing the function into here? and leaving settings in the different envs?