add WF_USE_FLOW environment variable

if that variable is set, try to load flow and use that instead