Thanks for your help.
I already found a solution, I put all the code into the thisoutlooksession...
Have a good day ;P