build output files