toc script