Rewrote init script.