changes for heroku 3