Only relink scripts if they changed