Modification of box command and inclusion of print_summary command