Changes necessary for deployment on heroku