run.sh accepts integer arg for looping