 The plot twists were all a matter of top secrecy throughout  production. The screenplay was heavily guarded and restricted to  only the most crucial personnel. Certainly none of the cast knew how  the film ended as the last 10 pages were withheld from them.  Consequently when an early screenplay draft was leaked onto the  Internet, revealing the intended identity of Ghostface, Kevin  Williamson was forced to do some hasty rewrites. This meant that the  film went into production without a completed script.