added to __main__ for heroku