clean up
add script that outputs arrays of level0/1/2 objects with parent info