tweaks to get app to run on heroku