moving output to build