Only add if search is configured