Unable to call shared script from tag event script after upgrading ignition to 8.0

Good Morning,

Recently we have upgraded our organization ignition server from 7.9 to 8.0.5

After upgradation we tried calling simple shared script from tag value event changed but we are unable to do so, we are getting below error message

same script is working well with timer call and from script console

All previously developed scripts which has been migrated are working fine.

Any suggestion on this

Error executing script.
Traceback (most recent call last):
File “tagevent:valueChanged”, line 2, in valueChanged
AttributeError: ‘com.inductiveautomation.ignition.common.script.Scr’ object has no attribute ‘CCMScript’

Tag script

Error Snapshot

Script Snapshot

Thanks
Avinash

Project scripts called from tag events must exist within the gateway scripting project. On upgrade from 7.9, a global project is created with all shared scripts, and the gateway scripting project should be set to global (Configure -> Gateway Settings). If it isn’t, then make sure that this setting is pointing to the project where all your old shared scripts exist.

Thanks, I understood
Going forward any shared script should be created in parent project in order to access it at gateway level

https://docs.inductiveautomation.com/display/DOC80/Project+Library