cleanup app.py