Reworked the templates and the box creating function