Uses the environment module to switch between enviornments