Change to make shutdown script work with upstart