added double quotes for directories with whitespace