Handler was involved in the screenwriting process for the film "Lemony Snicket's A Series of Unfortunate Events", but was ultimately removed from the project. After writing eight drafts of the script for Sonnenfeld, he was replaced by Robert Gordon in May 2003. Handler approved of the changes that were made to his original screenplay. "I was offered credit on the film for screenwriting by the Writers Guild of America," Handler said, "but I didn't take it because I didn't write it. I felt like it would be an insult to the guy who did."