New definition of `SourceDir`; old definition did not work because `$0`
is not equal to the script name when executed as `bash {script name}`.
Corrected quoting of $0