moved box to imgbuilder ; added preperation of dia