fixing the init script