Also, now possible to store a ref in the database for the workflow, rather than hard-coding to master.