Split box building into a new script