More changes to link.sh