hey thanks for the quick reply. I placed that string in the body of the script. does not seem to work. should I put it in an if statement dor users in certain groups ?