Updated link.sh to skip already linked files