Fixed the link statements in Generateslinks.sh