allow application.py to be launched "by hand"