Configure environment.