minor modifications for heroku