most of the new link script is done