Updated box detection for new drvier