hi, since i am a beginner at best with kix scripts, i totally understand what the first part of the script is doing. but what is all the code starting with the comments doing? btw, thanks a million. you are awesome and this will be a lifesaver!