fixes scratch_dir not found error
pass scratch_dir via function
Merge pull request #55 from reijop/master

fixes scratch_dir not found error