Fix inheritance for ScriptJob and ExecJob