Something you should consider is the speed and timing issue. KiX 4 is certainly faster than 3 and if some SHELLed progs run async, the script may finish before the SHELLed prog. The logon process then tears down the temp Z: assignment and grief may ensue.
Load order is also a factor. Perhaps moving some portion of the script to 'RunOnce' may offer more stability.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.