Add variables and support for syncing cm repos