some changes for deployment on heroku