Auto-managing boxes working (pretty hack)