get rid of SEARCH_PATTERN to keep consistent with web example
remove unneeded udf
upped default min word length
merge