If no script, default is null, not -1. Fixes #265

Includes test and exposing the command run for debugging.
1.0.13