This is a very helpful thread -- thank you especially Tia for posting your full solution.
By the way, in case this helps anyone: a cross-platform version of the file URL (will work on Windows but assumes C: drive) turns out to be...
file:/opt/scripts