Tweaks to linkscript