script doesn't work if dir has spaces in it
Merge pull request #2 from justinedelson/patch-2

script doesn't work if dir has spaces in it