Ok, I think I have found the bug but I still don't know if it was related to my computer only or a problem in general. Nevertheless the one line solution will hurt no server

I had to write tons of code until I came up with the hopefully final solution.
I sent the script to Kier for some extreme testing and if he says that everything is alright you will be able to download it very soon.
Thanks for all your help and patience.