tweaks to make heroku work