 Nutter would also direct "522666" and "Loin Like a Hunting Flame" later in the first season.The episode was written by series creator Chris Carter.Beyond creating the concept for "Millennium", Carter would write a total of six other episodes for the series in addition to "Gehenna"—three in the first season, and a further three in the third season.