Allow work directory to be specified
Merge pull request #3 from titanous/custom-workdir

Allow work directory to be specified