Robin Williams will star as Sarah Michelle Gellar's father in CBS's upcoming comedy "The Crazy Ones."

The comedy is about an unorthodox advertising executive and his daughter. "Ally McBeal" writer David E. Kelley will pen and produce the show.

The major U.S. network announced Wednesday that it will air eight new series ahead of its upfront presentation in New York, an annual convening of broadcasters and advertisers, where networks try to persuade advertisers to spend billions of dollars in commercials for their new shows.

The network is bringing back the most shows of any other network, with 20 series to return. CBS will introduce four comedies and one drama this fall, while rival networks NBC, NBC and Fox will debut a total of 41 programs.

CBS will move Person of Interest to Tuesdays alongside NCIS and NCIS: Los Angeles to have television's three most-watched dramas air on the same night on the same network.

The network produces other major hits, including The Big Bang Theory and Two and a Half Men. According to Nielsen ratings last week, the network produces five of the six highest-rated series on broadcast prime-time television.

The title of the new comedy starring Williams is meant to allude to his comic style. It will air in a prime Thursday-night time slot after television's most popular comedy, The Big Bang Theory.

"We think this is going to be the most talked-about show this fall," said Nina Tassler, CBS' entertainment president.

The drama "Hawaii Five-0" will move from Monday to Friday nights.  

The network is canceling "CSI: N.Y.," ''Vegas," ''Golden Boy" and "Rules of Engagement."

CBS rejected pilots of a "NCIS: Los Angeles" spinoff and a "Beverly Hills Cop" TV remake backed by Eddie Murphy. "Mike & Molly" Melissa McCarthy's popular comedy, was left off the schedule for the time being. CBS ordered 22 episodes of the sitcom in case the network chooses to add the series back in the schedule.