Added SetupEnvironment for two platforms