Rewrite beaterl to use heroku deployment environment.