Added smartcase setting for search