add an environment for the GUI