Added option to force to use docsplit