Adding version and mirror variables to init and config