Added main switch for kernel settings