Fixed so that repo variable is passed