Heroku ready code