Boxes.py from wreece branch, because Lucie forgot it