Can you remove the ``empty($config['menus']) &&`` test ? thanks