More fixes to the init scripts