Configures initial environment.