that is a great idea for improving the efficiency of the script, and I am looking into tweaking it to make it better now I've got it working. My boss has approved it for beta deployment in our lab and I am pleased at what I'm learning
Thank you folks for your help.