Ok, that answers the question, the file should be automatically copied
to the ZAP home then.
Call `scriptWrapper.reloadScript();` before adding the script to the
extension.
(Note that you still need to check if the script does not already exist
before adding it to the extension, otherwise that will fail if it does.)
Best regards.