Workflow as a script