some improovement for distribution and download repositories configuration