Aparently it solved itself. I loaded each script I had separately, and then got them together, and it all worked fine. I think it was a server thing. I was always on one server, and since it split today, I used another. Everything went alright then.
Thanks for the help