Added case sensitivity option.