Fixed directories with spaces when using parameters