fix exception when script_version is nil
add local job debugging tutorial. closes #1515