Change path of the document files and add TOC