When news came out that there would be a remake of the hit '90s movie She's All That, fans weren't sure how to feel about it. People made fun of the He's All That trailer, as it can be tough to remake or reboot a beloved movie or TV show and bring it into the contemporary world.

As it turns out, there's a connection between famous filmmaker M. Night Shyamalan and the She's All That screenplay. Did Shyamalan write this famous movie that people love so much? Let's take a look.

Who Wrote 'She's All That'?

There is so much to know about the making of She's All That, and fans are curious if Rachel Leigh Cook got along with co-star Paul Walker. The actress says that he was a total sweetheart and that she had a great time making the film with him.

Over the years, people have said that M. Night Shyamalan wrote the script for She's All That. The filmmaker is known for his movies Lady In The Water, The Sixth Sense, The Village, Signs, and more recently, Split and Glass. Since he deals in the world of horror, it's a surprise to hear about him writing a romantic comedy, let alone one based in the world of teenagers.

What's the truth? M. Night Shyamalan did a rewrite of the screenplay. According to Entertainment Weekly, Jack Lechner, the head of development for Miramax at the time when She's All That was made and a movie producer, told the publication, “He did a solid rewrite … He made it deeper, made the characters richer.”

Lechner also commented on The Mary Sue, “R. Lee Fleming wrote the script we bought, which is recognizably the same movie you saw (if you saw SHE’S ALL THAT). M. Night Shyamalan did an uncredited rewrite on the script, and a very good one that got the movie green-lit.”

According to EW, Shyamalan had done an interview where he said, "I ghost-wrote the movie She's All That" which, naturally, got everyone talking and wondering what the truth was.

R. Lee Fleming, Jr., who has the screenplay credit on the movie, once tweeted his reply to this statement and said, "Only in his mind." But it does seem like the filmmaker did a rewrite.

RELATED: Rachael Leigh Cook Returns On Gender-Flipped Remake Of Cult Romcom ‘She’s All That’

The Line Shyamalan Wrote

M. Night Shyamalan wrote the most famous line in She's All That. According to Decider.com, when Laney asked in one famous scene, "Am I a bet? Am I a f***ing bet?" that was something that the acclaimed filmmaker added to the screenplay.

According to an email from screenwriter Fleming, “My recollection is that particular moment, replete with F-bomb, was one of M. Night Shyamalan’s contributions. And yes, as I learned during the course of writing the movie, you only get one “F***” in a PG-13. And in truth, had there been more of them, the moment when Laney said it wouldn’t have been anywhere as emotionally jarring.”

In this iconic She's All That scene, Laney realizes that she has been the focus of a bet this entire time, and she wonders if Zach even likes her at all. His ex-girlfriend Taylor asks her, "You didn't think you became popular for real, did you? Oh you did. That's so sweet."

This is definitely the most important scene in the entire movie as it's when everything changed for Laney and Zach. Of course, fans of this movie know that the couple does have a happy ending, but a sweet and charming one, as Laney made Zach embarrass himself at their high school graduation by walking across the stage naked.

RELATED: Everything Freddie Prinze Jr. Has Been Up To Since 'She's All That'

Laney's Character

In an interview with The Guardian, Rachael Leigh Cook shared that she didn't think she was a typical-looking girl and that she feels she was more "girl next door."

The actor explained, “I never saw myself as shiny and pretty in the way that someone like Jessica Alba or Jennifer Love Hewitt were then. They were the pretty girls and I thought of myself as far quirkier. If that was true, I do not know. But I was never at the top of the pretty-girl list.” She’s quick to clarify, though, that she is absolutely speaking in Nineties Hollywood terms. “I was not terrible-looking by any stretch! But there were so many stop-you-in-your-tracks beauties working at that time. I think I filled the role of ‘identifiable girl-next-door type’.”

That "girl next door" persona is definitely why Rachael Leigh Cook did such an amazing job as Laney Boggs, as the character needed someone who could be relatable, intelligent, and strong. Audiences cheered her on and knew that she could handle whatever came her way, as she didn't care about being popular.

RELATED: Everything Rachael Leigh Cook Has Done Since 'She's All That'

It's fun to hear that M. Night Shyamalan did a rewrite of the beloved teen romantic comedy She's All That, and even more fun to hear that he came up with the best and most iconic line from the entire movie. Now that He's All That is out, it's the perfect time to watch both movies.

NEXT: Addison Rae's Actual Singing Ability Gets Exposed In 'He's All That'