Thank you very much, the script is running fine now.