Correct Flask integration example