Added debug on app.py