Jochen,
I tried running you script and it works great. I will try writing the rest of it. Thank you very much Jochen and Rory