made adjustments for heroku