 Though Brendan Hood (qv) is credited as screenwriter, he only came  up with the basic idea. Everything in his original draft was  subsequently written out by the producers, and its estimated that  up to 10 people have worked on the script.