Finally got hold of the load Switching CODE.

Fianlly its done