Preparing repo