'script' field is optional if 'options.command' is defined