updates to app.py