Updated app.py functionality