not sure if it is your case , but chec the ModuleStatus and try to add a new value there.
If that is not solving the issue, please describe it in more details.
The "custom" script relates to process designer modules, none of which are present in 9.20.
Add the new status to the Module Status table for the rootcause table. You may have to regen the associated global list.