configure evironment to work with heroku