updated ImgAdder to take outfile arg