Fixed a subtle defect with the init script. Ouch!