configure the environment.