allow directory names with spaces in them

just a small change to fix the problem I had with the script