Changed pull-repo.sh to be called with exec