 Masterson co-wrote (with Larry L. King) the books for the hit musical "The Best Little Whorehouse in Texas" (1978) and its short-lived sequel "The Best Little Whorehouse Goes Public" (1994).In 1980, he produced the ABC television movie, "City in Fear" based on an idea by screenwriter William Goldman—an idea that became the well-reviewed 1979 novel "Panic on Page One" by Linda Stewart, and the television script by Albert Ruben.The cast was led by Robert Vaughn and David Janssen in the final role before his death that year.