Cynthia Watros has agreed to star opposite Tom Cavanagh in the CBS comedy pilot My Ex-Life.

The Lost actress and the former Ed actor will be two best friends who happen to be a divorced couple sharing custody. The Hollywood Reporter says she is doing My Ex-Life as a guest star because of her regular commitment to Lost.

Watros replaces Gillian Vigman, who originally was cast in the pilot.