OWASP ZAP: Enabling script

ZAP will disable scripts if they fail to compile. Open the script and look in the Script Console – that will show you any compilation errors.