giddy up mofo. works
fix error when numTarget=0
more eg for rundefn.txt