Thanks for the hint. I got the script working now!