Made changes to how white boxes are created.