made rerun better

made rerun better and needs to be reviewed.  thanks!