Create switch_panel.lua