Oscar favorite Birdman was originally supposed to feature a cameo from Johnny Depp in his signature Jack Sparrow costume, according to Consequence of Sound.

In Jeff Goldsmith’s annual podcast with Oscar nominated screenwriters, Birdman writer Alex Dinelaris detailed how the film’s ending was originally planned.

Dinelaris stated, “So we had one other ending that was satirical….The other ending was that he shoots himself on the stage. The camera comes around to the audience and their standing ovation…and the segue was back on to the stage and on the stage was like James Lipton or Charlie Rose and Michael [Keaton] was sitting across from him and he’s sort of reading the review. He’s saying, ‘Oh my God, you got this tremendous review’ and Michael is like, ‘Yeah.’”

Dinelaris continued, “Then the camera…went back stage through the halls we’ve seen the whole time and we’d get to the dressing room where literally Johnny Depp would be sitting looking in the mirror and putting on his Riggan Thomson wig and then the poster of Pirates of the Caribbean 5 would be in the back. In Jack Sparrow’s voice [he would say], ‘What the fuck are we doing here, mate?’ It was going to be the satire of the endless loop of that.”

Other nominees featured on the podcast included screenwriters Dan Gilroy (Nightcrawler), Anthony McCarten (The Theory of Everything) and E. Max Frye (Foxcatcher).