This has been done in case the script fails during the processing and needs to be re-run. Now all the references are converted as soon as we can, where as before they could have ended up being re-downloaded.