Added configurable options to specify what to search for.