final script for create the box