Changes necessary to run on heroku