change generateLDocDriver