The Wordplayer site has a good anecdote about why it’s important for screenwriters to stay active throughout production:
I’m on the set less than a minute and I see Miss Improvise, in costume, her makeup being touched up, all ready for the first master shot. She’s supposed to be dead. Dead for at least twenty pages.
Definitely worth a read. Check it out here.