On an archaeological dig, Richie helps the curator of the Bagard Museum outwit two desert thieves and a genie from stealing Ali Baba's ancient treasure.