Fixed init script to support chkconfig