Changes needed for postgres (heroku)