finishing up the addrepo and delrepo scripts