simplify init script