CBS announced Sunday that it has replaced the new episodes of Supergirl and NCIS: Los Angeles that were supposed to air tonight with different episodes. That’s because the episodes included terrorism in their plots and would have aired just days after the Paris terrorist attacks.

For Supergirl, tonight’s episode was supposed to be “How Does She Do It?.” However, CBS has replaced it with the Thanksgiving-themed episode “Livewire.” The episode features Brit Morgan as Livewire, a new villain for Supergirl (Melissa Benoist), and Helen Slater as Supergirl’s foster mother.

The episode of NCIS: LA that will air tonight is “The Long Goodbye,” which has LL Cool J and Chris O’Donnell searching for a woman (Ella Thomas) who sought asylum in the U.S. and goes missing.

This isn’t the first time a network has shifted episodes around after a news event. In August, USA Network delayed the season finale of Mr. Robot because the plot was too similar to a shooting in Virginia, where two journalists were killed.

Supergirl airs at 8 p.m. and NCIS: LA starts at 10 p.m.