DRY

A bunch of the code we use to build the box is also used in
boxbot.build.ps1, consolidating