There, the gang learn that a Caveman haunts the museum and a pterodactyl takes Shaggy when he goes looking for food, promoting Scooby to save him again. Saving Shaggy, Scooby finds a large bone in the tar pit. Scooby later finds a contract from Stanton and gives it to Velma, as Fred and Daphne are trapped in a cage but are then freed by Scooby in his archer costume. The gang confronts the Caveman, defeating him. The Museum's head of security, Joseph Grimm, is revealed to be the Caveman as part of a scheme to sell the valuable petroleum deposits located under the Museum. Velma correctly deduces from this chain of events that Stanton is responsible for the thefts, having framed Jed and sent the gang on a wild goose chase to distract them.