 During mid-1997, Jackson and Walsh began writing with Stephen Sinclair.Sinclair's partner, Philippa Boyens, was a major fan of the book and joined the writing team after reading their treatment.It took 13 to 14 months to write the two film scripts, which were 147 and 144 pages respectively.