Fixed path bug

- Script would fail if the path to it contained a space, no longer occurs