[Energetic music plays]

Mia, a seven-year-old girl, wears her brown hair in two braided buns. She wears a yellow hooded sweater with pink trim and two yellow barrettes in her hair. Mia pushes a button on Codie, her bro-bot, and he rides a bicycle around colourful blocks. Mia plays the guitar, and Codie plays the drums, while a blue ostrich and Velvet, a pink elephant, dance.

Children sing, RUN THE CODE.

A singer sings, TO MAKE THINGS HAPPEN.

Children sing, RUN THE CODE.

The singer sings, TO GET THINGS DONE.

Children sing, RUN THE CODE.

The singer sings, TO START THE ACTION AND HAVE SOME FUN.

The singer and the children sing, RUN THE CODE.

Title: “Mia and Codie.”

Episode title: “Pirate Treasure!”

Written by Renae Ruddock.

Children say, PIRATE TREASURE!

In a park, Mia wears a tricorne hat, and the ostrich wears a pirate hat. Velvet wears a sailor’s hat and carries a large sack.

Mia says, RUN THE CODE, MATEYS!

[Upbeat music plays, clicking]

Mia pushes a green play button on Codie’s chest, and he steps forward.

Codie says, WALK.

[Rustling, ostrich squawking]

Mia unrolls a map that has a dotted line leading from a tree to a red letter X.

The ostrich says, WE SHOULD SEARCH FOR THAT TREASURE NOW!

Codie sings, I’M GONNA BE A PIRATE!

The ostrich says, THIS, THAT, HERE, THERE...

[Clicking]

The ostrich rearranges blocks of code on Codie’s chest.

The ostrich says, DONE!

[Whirring]

Codie salutes the ostrich.

Codie says, YOU ARE THE CAPTAIN.

[Dinging, clicking]

The ostrich pushes the play button on Codie’s chest.

Codie says, COCK-A-DOODLE-DOO!

[Slide whistle, clicking]

Codie rolls away from the ostrich.

The ostrich says, UH-OH.

[Slide whistle, rustling, tense music plays, Mia gasping, slide whistle, rustling]

Codie rolls between the ostrich’s legs, and the ostrich falls. Codie digs and throws dirt over Mia and Velvet’s heads.

Codie says, YEAH!

Codie imitates playing a guitar on the shovel.

The ostrich says, NO, THIS IS NOT HOW PIRATES ARE SUPPOSED TO FIND TREASURE!

Velvet says, LEAVE IT TO AN ELEPHANT!

[Clicking, blocks clattering]

Velvet twirls and pushes an eject button on Codie’s chest, and the code blocks fall into a drawer on his chest. Codie looks down at the X by his wheels.

Mia says, X MARKS THE SPOT.

[Rustling, whirring]

Codie digs and lifts a treasure chest out of the ground.

Velvet says, OH!

[Clicking]

The chest opens and new code blocks gleam.

Codie says, WHOA, PIRATE BLOCKS!

[Clicking]

Mia pushes the play button on Codie’s chest with the four new pirate blocks installed. Codie has a hook on his right arm and an eyepatch lowers over his right eye.

Codie says, ARR, I'M PIRATE CODIE NOW!

[Rustling]

The ostrich puts the pirate hat on Codie’s head.