index random init script