attempted to make real time but figured out that a python variable will not be global for multiple instances of app.py; must put variable in the shelve