Answer
AI-Scripts are installed on a device hard disk in the following location: /var/db/scripts/
AI-Scripts are installed on a device flash drive in the following location: /config/scripts
NOTE: If you configure the load-scripts-from-flash option, the system reads event-scripts from the /config/scripts/ directory. Otherwise, the system reads AI-Scripts from the /var/db/scripts/ directory. The /var/run/scripts directory always point to the correct scripts directory.