Dynamite/Thomas saves Ryan & the construction site as OpThomas Prime and nearly gets punished again

This is how the scene Dynamite/Thomas saves Ryan & the construction site as OpThomas Prime and nearly gets punished again goes in The PJ Masks' Adventures of Thomas and Friends: Sodor's Legend of the Lost Treasure.

SCRIPT:
[Meanwhile]

Marion: OH!

Narrator; Marion was working on the next cutting, but the ground was very hard!

Marion: Ow! Not more rock!

Oliver: We've run out of dynamite.

Marion: Oliver,

Sir Topham Hatt: THOMAS THE TANK ENGINE!!!

Voices: Uh oh.

Sir Topham Hatt; What are you playing at now!? I thought you could be more responsible if I sent you to work here!

Connor: But sir, Thomas is not here!

Sir Topham Hatt: Well, who else did it?! There's nobody else here!

OP-Thomas Prime: Sir, the problem was caused by Ryan. He had bad coal which created the sparks that caused the dynamite to light, and if it wasn't for me, someone could have been really hurt, namely, Marion, and the pack vehicles.

Amaya: You were lucky that OpThomas Prime was there, wasn't he, sir?

Sir Topham Hatt: Oh, er... I see. [turns bright red] oh dear. [clears throat] Well, uh, thank you, OpThomas Prime. You are a really useful Transformer. If you hadn't arrived to the scene, someone could very nearly have been hurt. [turns to the kids] Connor, Amaya, Greg, if you see Thomas, tell him to come to Knapford immediately. I would like a word with him. [turns to the other vehicles] And everyone else can get back to work! [walks off]

Connor: Phew, that was close.

Greg: He was too close to almost punishing him again!

Amaya: I know. If we hadn't been there, Thom- oh, I mean, OpThomas would've been toast.

OP-Thomas Prime: Bye, everyone!

[He disappears]

[Thomas appears]

Thomas: What did I miss?

Ryan (Thomas and Friends): Thomas! You missed Op-Thomas Prime saving us and getting rid of the burning dynamite!

Marion: It was impressive! The explosion was so amazing!

Alfie: It made quite a splash.

Connor: Oh, that reminds me. [to Thomas] The Fat Controller says he wants you to go to Knapford immediately.

Greg; He wants a word with you.

Thomas: Alright. But first I need a private talk with Ryan.

[Later at the cutting]

Narrator: The diggers tried to carry on, but without the dynamite, there was only so much they could do.

Thomas: [puffs up to Ryan] Uh, Ryan? Can I talk with you a minuet in private?