Thanks for that info and your advice. I have actually plagiarised a script (using ADS) I found through this BB and it is doing the job perfectly.

Kenno