We learned last year that Dan Mazer was developing an adaptation of Vera Brosgol’s graphic novel Anya’s Ghost, and Deadline reports today that Emma Roberts (“Scream Queens,” “American Horror Story,” The Blackcoat’s Daughter) has come aboard.

Based on a screenplay by Patrick Ness (A Monster Calls), the story follows Anya, an unpopular 16-year-old who gets stranded in an underground cave where she rescues Emily (Roberts), the apparent ghost of a teenage girl who died a century earlier. Initially, Anya thinks her new “friend” may be the best thing that ever happened to her. But the relationship has unforeseen consequences for Anya, her friends and her family.

Jeremy Bolt and Benedict Carver are producing, along with EOne.