add switch config file