The third segment, "Wiz Kids", was written by Carolyn Omine. Omine stated in the DVD audio commentary for the episode that the segment was "a really hard sell", since only about four of the writers had read "Harry Potter and the Philosopher's Stone", the book the segment was based on, while the rest of the writers did not know about the book and thought viewers would not know who Harry Potter was. At the time of the episode's production, four books had been written in the "Harry Potter" series and the film adaptation of "Harry Potter and the Philosopher's Stone" would be released November 16, ten days after this episode aired. Two scenes were cut from the segment; one of them would serve as an extension of Montymort and Slithers plotting their scheme, followed by a scene showing Bart combing his hair, while the other scene would show Groundskeeper Willie riding an enchanted lawn mower. The latter scene was cut for time.