take configuration from the enviroment