Added ignorecase and smartcase for searching