I've got my script finally running smooth as can be thanks to all you guys' help. The one fly in the ointment is that when I have a user login using their domain account to the citrix box the script tries to run. Which is not something that we don't want to have happen. Is there a simple way of addressing this?

Thanks.

-Dan