fix filename off by one
add best alignment to out dir
cp original file in case that 0th iteration was best
remove debug messages