set initial environment.