Added some logging. Also add /sbin and /usr/sbin to PATH so we can find shutdown command