Various fixes to the init script