This is the beginning of a larger script. But for now this is all I have. Random closings of the script window are occurring, not on the same machine each time. When the script closes it is giving no error ( I use RedirectOuput to ensure that if there is an error I would catch it). With no one machine causing the error, and no one (discernable) error line.