resetting flask run statement to work on production