working add-repo scripts