Add script for table of content generation and table of content