Modified the data capturing logic. Extract highlighted text as well.