Stan takes the family to church and Steve questions everything. Stan decides to help Steve develop some faith, but the plan backfires when Steve points out logical flaws with faith and religion. Stan spirals into a deep depression where he attempts to find pleasure and meaning in life, but finds none. When Stan almost drowns in a pool he has a vision of God. Stan believes that he is the new Noah and that he must get his family to an ark in order to survive the flood.
Stan is afraid that Hayley is drifting aimlessly through life, so he tries to teach her the value of a good plan. Stan takes Hayley on a CIA mission, but the mission backfires when Bullock fails to develop a good plan. Hayley discovers that Bullock is sleep-deprived which is leading him to plan dangerous missions. In order to save Stan, Hayley must teach him how to improvise. Meanwhile, Jeff tries to recreate a musical instrument he saw in a dream.