updates to make config work with heroku