scanning and switching options

scanning and switching options