debugging: fix ability to run by invoking `python app.py`