Add command to generate work directory