some minor changes

- did not see a line was still commented
- missed the creation of the optional tmp dir