Added bool value for hiding control panel