fix start and stop scripts in init file