 Mirkin did not have enough time to write the episode and asked Swartzwelder to do it.Mirkin came up with the idea while driving home from a rewrite early in the morning and listened to a religious radio station where they were talking about Freemasonry.Mirkin decided it would make a great episode, where many people in Springfield were members of a Masonic society and Homer was left on the outside and felt neglected.