flaskr to work with heroku