began writing init script