Knob, thanks for the solution. However, there is one slight problem with this program. I work at a place where the security policy is to lock the comuper after 15 min of no activity, and I am trying to use this script to run my morning routines and email results before I get to work. Any ideas?