changes to enable Postgresql on heroku