The film's writer Christy Hall tells PEOPLE of the changes she spotted: "If those flourishes came from Ryan, I think that's wonderful" Nicole Rivelli/SONY PICTURES says husband had a hand in some of the dialogue in something even the movie's screenwriter wasn't aware of! Lively, the star and producer of the film, told at the New York City premiere on Aug. 6, "The iconic rooftop scene, my husband actually wrote it. Nobody knows that but you now.

" The actress, who also made a cameo in Reynolds' recent hit , which he co-wrote, added, "We help each other. He works on everything I do; I work on everything he does. So his wins, his celebrations are mine and mine are his.

" Indeed, Lively makes a cameo in Reynolds' Marvel blockbuster as . is based on bestselling novel published in 2016. The rooftop scene is early in the film when Lily Bloom (Lively) meets Ryle Kincaid (Justin Baldoni, also the director), and features flirty banter.

The film's screenwriter, Christy Hall, tells PEOPLE the specific scene was "probably the trickiest one to tackle" because it is "perfect in the novel." "My first attempt at that scene, I really tried to just honor what Colleen wrote, almost word for word," says Hall. "I really, really tried because I just think that she did it best.

What's tricky about that scene is it's long." Related: Cindy Ord/Getty "I am very proud of my work, and I do feel like the beats that needed to be honored in that scene are preserved and they're there," adds Hall. "Again, Colle.