Create a global environment in phase 3.