One more thing:
Is it somehow possible to pass arguments from the calling program through the .scp script all the way down to the Javascript script?
Alternatively, I could create the Javascript from the calling program before invoking PixInsight - but, boy, that gets ugly ...
Thanks!