adding FLASK and HEROKU specific code