Minor fixes in init script