changed link.sh