put consolidated output in the right location