some more clean up removing some print outs and adding total scan size back