And lets only do critical shutdown when a script is specified, shall we :)