The book and movie were actually done concurrently, with some script changes, but not all, included in the book.
Ahhh...earlier post confirmed!