M. Night Shyamalan is known for his work in horror and sci-fi, but before his big break with The Sixth Sense, he secretly made a 1999 teen comedy possible. M. Night Shyamalans career as a filmmaker began in 1998 with the comedy-drama Wide Awake, but he rose to fame as both a director and writer with the psychological horror thriller The Sixth Sense. Since then, Shyamalan has become best known for his work in the horror genre with movies like The Visit and Knock at the Cabin, as well as sci-fi with films like Signs and The Happening.
https://screenrant.com/shes-all-that-m-night-shyamalan-script-explained/