Switch to support ERB