Fixed issue with paths passed to scripts

Paths are now passed with quotes to avoid issues with spaces