slight mod of clonerepos.sh