improvement to show-switch-features.rb