update for heroku and tests