thx for your reply Richard, i got it to work with the script above