When Black Panther debuts in theaters next week, you may notice Donald Glover and his brother Stephen are thanked in the end credits -- it's now been revealed exactly how they contributed to Marvel Studios' latest movie.

RELATED: Black Panther Lives (On Your Shelf) in New Hot Toys Collectible Figure

In an interview with ColliderBlack Panther director Ryan Coogler shed a bit of light on the Glover brothers' involvement with the movie, especially since it wasn't made public knowledge that they had been involved prior to its release. The director explained that the duo looked over the script - which he co-wrote alongside Joe Robert Cole - prior to filming and gave their comments.

"Yeah, but it wasn’t that kind of a thing where it was a ‘Change this, change that'," said Coogler. "We were looking at ways to highlight a few more character things, specifically with Shuri were she pokes fun at her brother. Donald’s one of the funniest people that I know, so he had some interesting ideas, and Stephen’s crazy talented as well."

Donald is known for his comedy, whether he's performing stand-up or acting in series like Community or Atlanta. While he stars in the latter, he's also the creator, and occasionally serves as a writer or director. Stephen has multiple writing credits on the series too, and since it has won multiple Golden Globe Awards and Emmy Awards, it seems like a clever move by Coogler to get them involved in any capacity.

This isn't Donald's only connection with a Marvel project. The actor made his debut in the Marvel Cinematic Universe with last year's Spider-Man: Homecoming, playing the role of Aaron Davis - otherwise known as the Prowler, and the uncle of Miles Morales. He's also developing an animated Deadpool series with Stephen for FXX, which is set to debut later this year.

RELATED: Black Panther Is Now Certified Fresh On Rotten Tomatoes

Directed by Ryan Coogler from a script he wrote with Joe Robert Cole, Black Panther stars Chadwick Boseman as T’Challa, Michael B. Jordan as Erik Killmonger, Lupita Nyong’o as Nakia, Daniel Kaluuya as W’Kabi, Letitia Wright as Shuri, Danai Gurira as Okoye, Angela Bassett as Ramonda, Martin Freeman as Everett K. Ross, Andy Serkis as Ulysses Klaue, Winston Duke as M’Baku and Forest Whitaker as Zuri. The film opens Feb. 16.