Support gallery and private repo