Amanda Seyfried is set to headline Universal Pictures's upcoming comedy He's F***ing Perfect. Emma Stone was previously up for the role.

The film follows an Internet-savvy woman that cooks up a plan to have her friend dump her new boyfriend so she can date him. Lauryn Kahn wrote the script with Jake Szymanski directing.

Amanda Seyfried most recently appeared in The Big Wedding, Lovelace and Epic. She will next be seen in Seth MacFarlane upcoming comedy western A Million Ways to Die in the West.

Gary Sanchez Productions' Will Ferrell, Adam McKay and Kevin J. Messick are producing alongside Good Universe. No production schedule has been released.