Actually added the environment domain switcher