finalize scripts for reads realignment