Changes for hosting on Heroku using PostGres