improved support for RedHat init script