update 2d comparisons script to use level_index, fix level table creation...