moved env config to config file