Added heroku function