Allow workflow.py to work from outside a workflow