made configuration changes to work on heroku