Switch to a Flask app