Select menu location to add switcher to

Added if statement to select which menu location to add the switcher to.