The screenplay was written by Joss Whedon in the early 90s .
The screenplay was went through multiple rewrites over the course of two decades .
The screenplay was written by Joss Whedon in the early 90s , and went through multiple rewrites over the course of two decades .