The controversial director finished his script in 12 days.