added toc script