pre add repos and config