CHange scan text to a nested directive