Thus , it reconstructed Grimlock and his troops into dinosaur forms , in order to battle Shockwave .
The Ark 's computer detected his presence on the planet , and its scans of the Savage Land led it to believe that dinosaurs were the dominant life form .