Maybe the script portion should be exposed as a `Seq[String]` setting that can be overridden.
One of the comments in the blog I think said `$0` should also be quoted in case the path contains white space.