added /sbin and /usr/sbin to the path in order to pick up the shutdown command
added comments