Hmm, maybe I should submit my code for syntax improvements. Perhaps one day when I have nothing to do, I will go over the script again and make the code a bit neater as it could do with some improvement.
I agree with Shane, it was just better to write the code neatly, as my coding was ok, but its not very neat and it makes it harder to read. Again thanks guys. I will remember that "not exist" option !