Add Flask app control