updated link.sh