Load pgf from Rapid

Hello,
Is it possible to load a pgf file (all mods referenced within a pgf file) within a rapid program?
I’ve seen the ‘Load’ function which only seems to load individual mod files.
I can see that there would be a way to search through the pgf line by line to load the individual mod files, is this the only way to do it?
Thanks

The Instruction Load would be used to load modules because loading a program will overwrite the current program,
However you could use a system input with the action Load or Load and Start. these can be used to load individual modules or a program.