Yea, I am calling it from the command line and nothing is giving an error. Thank you for testing it though, being it is working for you I can quit banging my head on the wall with the script. Been wrestling with this all day. Now I can at least move on and look for other causes. Thank you for taking the time to help ;)