You write the script, and then you just go over it 400 times and make all the jokes better. It really is true. That's essentially the way it works.
Perhaps my early problems with dyslexia made me more intuitive: when someone sends me a written proposal, rather than dwelling on detailed facts and figures I find that my imagination grasps and expands on what I read.