I put the pause statement in there and there doesn't seem to be any error. I don't know if maybe my logon script has some errors or what but it only displays the processing logon script please wait box and then it closes. Does it look like there are any issues with the writing of the script?