syntax fix for link.sh