cubes updated...
setup fixed
flatten_header needed to do more