Fixed bug where script was trying to relink files that had been modified.