[Change] removed use of case insensitive (e)greps where not needed to improve performance