Added script to gather metadata for ids harvesting