ref 6588 update script for originalSource.links