Adds boxes to indexes rather than tables. Fixes errors. Changes routing.