Upgrade scripts need to use uuids for links as they operate on the raw data.