for blacklight run
metadata extraction