manage init script