Writer-producer Ronald D. Moore had previously written an original script for the project, which the studio eventually declined to use, stating that Favreau and a new screenwriter would develop a new script.