add private repo support