Cliff has Fred fire Barney because of his exam score, but does his best to help Barney afterward with financial problems. Cliff proposes a new machine that will do all of the quarry work and increase the company's income. Fred is concerned about the operators losing their jobs. Cliff plans to have a fake version of the machine built and flee with the money gained from the machine, and frame Fred for it.
Fred nearly figures out about Cliff's plan, so Stone aggressively seduces him and Fred finally gives in to his desires, but is interrupted by Wilma. The Rubbles move into the Flintstones' house, causing tension between the Flintstones and the Rubbles, while the Flintstones' wealth increases. While out at a restaurant, Barney, now working as a busboy, sees on the news that Fred has fired all of the quarry operators. He confronts him about it, and their argument leads to Barney revealing that he switched their tests. The Rubbles move out of the house and Wilma abandons Fred.


