Adds the switch configuration