 Kevin Williamson (I) (qv) was originally hired to write the script  and was said to have actually finished a draft or two with the input  of Jamie Lee Curtis. Williamsons script was eventually not used,  but a treatment he wrote for the movie is said to be a heavy basis  for the final, filmed version.