Address simple issues raised in PR
Handle ScriptJob errors gracefully
Make sure the ScriptJob fails if script does not return an object for a request