updated control panel to use new modes