added repo downloading as first step