Strange things happening here.. Restarted the script again without changing anything to test something, and now it works... ?

Anyway, I'll let it be for now, if I get any more problems I'll post again.

_________________________
Regards, Jeroen. There are two ways to write error-free programs. Only the third one works.