fixing init scripts