Fixing bugs.
Simplifying the init script.