Katherine Heigl is to headline CBS legal drama pilot "Doubt" which reunites her with former Grey's Anatomy writers / executive producers Tony Phelan and Joan Rater.

The project centers on Sadie Ellis (Heigl), a smart, chic, successful defense lawyer at a boutique firm who gets romantically involved with one of her clients, Billy, who may or may not be guilty of a brutal crime.

The original pilot, which did not make the cut for a series order earlier this year, will be reshot in October after the script was rewritten and various roles recast.

In the first pilot shoot, Katherine's character was portrayed by KaDee Strickland, and the male lead by Teddy Sears, who has since been cast in "The Flash". His role will also be recast.

Original cast members Dulé Hill, Dreama Walker, Elliott Gould, Kobi Libii and Orange Is the New Black’s Laverne Cox will continue in the rework of "Doubt" with Cox playing Cameron Wirth, a trans Ivy League-educated lawyer who's both competitive and compassionate. Described as fierce and funny, Cameron's own experience with injustice causes her to fight even harder for all of her clients.

Hill will play Albert Cobb, Sadie's (Heigl) law partner and close friend who is working with her on a very high profile case; Walker will play Tiffany Simon, a smart, hard-working second year associate from Iowa who reports to Cameron (Cox); Gould will play Isaiah Roth, the head of the boutique go-to criminal defense firm in New York; and Libii will play Nick Brady, a smart, ambitious and enterprising recent law school graduate who is determined to work with the best criminal defense attorney in New York.

Phelan and Rater serve as writers and exec producers, along with the original creative team, exec producers Sarah Timberman, Carl Beverly and Adam Bernstein, who will also direct the new pilot.

"Doubt" will be produced by CBS TV Studios and Timberman/Beverly Productions