Hi Droid,
Yep all sorted, the script you shared was incredibly useful and I will be using that for another task, the original renaming script is up and running, so I have had a good day...well that was until I asked GoDaddy to migrate my website to a European server and it broke the SSL certificate whichj means I can't send data, so well pi**ed off.