further automating repository build