Is there a way to use environment variables within a load/unload script?

This is a two node OES2 SP2 x86_64 cluster. I have tried to use $HOST but the load script ignores it. What I'm trying to do is to get our ftp service to follow our share nss cluster resource.