modifications to allow for highlighting, case sensitivity and inout data tag stripping