 The script was written by David S. Goyer (qv) in the seven weeks  before he was due to direct _Blade: Trinity (2004)_ (qv), which he  also wrote. Director Christopher Nolan (I) (qv) took over the  writing chores from there.