From what I've heard, they started shooting before the script was actually finished, and they had to call in extra writers to finish it.
Also, Will Smith likes things his way.
--
Proud member of the Global Defence Force.
http://img.imgcake.com/AlecTrevylan006/AceKilljoyShieldpngyp.png