you don't want to use the integral shutdown command in kix?

http://www.scriptlogic.com/Kixtart/htmlhelp/Functions/shutdown.htm
_________________________
How to ask questions the smart way <-----------> Before you ask