A script doctor, also called a script consultant,[1] is a screenwriter or playwright hired by a film, television or theatre production to rewrite an existing script or polish specific aspects of it, including structure, characterization, dialogue, pacing, theme, and other elements.[2]