making changes to linkages migration script - querying sponsor org for nid