The facility is already available

Just use CALL to install the function library at the top of your script:
Code:
CALL 'network.lib'
CALL '\\hirogen\libs\network.lib'