 Production began without a finished script; scenes were often  written the day of filming. During one driving sequence,  Tom Cruise (qv) actually had to read his lines off cue cards  attached to his windshield, which resulted in a minor car accident.  For subsequent driving sequences, Cruise was fitted with a special  earpiece to have lines fed to him.