Added SetupEnvironment