Changed from a single wsig.py script to an app python package with an application factory in it.
wsig.py
app