update problem from InDesign CS 3.0.0 to InDesign CS 3.0.1

I have a script that I wrote before the InDesign CS 3.0.1 update came out. It basically imports In Design files into a book, creates a table of contents for the book, and then exports the book as a PDF. This script ran problem free many times, until I updated InDesign to 3.0.1 Now when the script gets to the line of code that creates the table of contents, InDesign crashes. :?: If any one could shed any light on this, I would greatly appreciate it. The line it crashes on looks like this:


create TOC using TOCstyle replacing yes from book theBook place point{6.375, 1.125} include overset yes destination layer "Default" 

Thanks for any help.