(CBS) — Skokie Police say two middle school students are in custody, accused of planning a shooting at the school.

Police say the two students now in custody planned a shooting at the McCracken Middle School in Skokie and that three other students there were interviewed by police because they were suspected of knowing about the plot.

READ MORE: CBS 2's Luke Stuckmeyer Enjoys Father's Day As A Dad For First Time

Those three students were released to their parents, Skokie Police say.

READ MORE: Rash Of Shootings In Humboldt Park Community This Weekend Have Left 2 Dead, 10 Injured

Detectives say there is no longer a viable threat.

Two-and-a-half years ago, three sixth graders at the McCracken Middle School were expelled.

MORE NEWS: Chicago Weather: Some Severe Storms For Northwest Indiana Sunday Afternoon, Severe Storms Still Expected Sunday Night

Authorities say they made threats on Instagram, and the school was closed for two days.