fixed initd scripts