Following her breakout role in the comedy “Blockers,” newcomer Geraldine Viswanathan is set to co-star with Hugh Jackman in the Automatik film “Bad Education.”


Allison Janney is also on board. “I Think We’re Alone Now” scribe Mike Makowsky penned the script. Cory Finley, who recently helmed the Sundance darling “Thoroughbreds,” will direct.


The screenplay, which insiders say is akin to the 1999 Reese Witherspoon movie “Election,” is based on true events that Makowsky experienced at his high school.


“La La Land” producer Fred Berger and Brian Kavanaugh-Jones of Automatik will produce alongside Eddie Vaisman, Julia Lebedev, and Oren Moverman of Sight Unseen. Makowsky is also producing the pic, which begins production in October.


The role was a highly coveted one among young female talent, with sources saying it was seen as a great showcase for a rising star.


“Blockers” emerged as a surprise comedy hit in April, following a buzzy debut at South by Southwest. Viswanathan, who played one of three high schoolers on a mission to lose her virginity on prom night, was seen by many as a standout.


Viswanathan can be seen next in the Overbrook film “Hala” and also has the Netflix comedy “The Package,” produced by Ben Stiller. On the TV side, she will be seen in TBS series “Miracle Workers.”