Finally figured out clean solution to updating env.