fix init scripts