Make flow.set chainable
set cwd and flowCwd arguments