You must create custom script groups before registering custom scripts.
You register custom scripts to select the parameters to pass when the script is executed.