Added support to switch deploypanels