Copy a script file ModuleLoader.scptd into
Home folder/Library/Script Libraries/
or
/Library/Script Libraries/
.
Also, copy sample libraries into
Home folder/Library/Script Libraries/SampleLibs/
/Library/Scripts Libraries/SampleLibs/