add switch and config to README