add wp-config with switch statement