Hmm i put the script in an other file, and now it works, thx anyway.

I dunno what is wrong on my script, but ok.