Added config.mirror option