Single-form working version of Flask app.