Switch configuration util