Added config option to disable the global search