Handle control panel dynamically