configure enviroment to work with heroky