Adding heroku functionality