You can call it wherever you want in your script. Just make sure it is before the file is compiled into the installation (means, before the specific "Install File" function).

I would suggest to leave the "Permanent" option unchecked.

Does this help?

Friedrich