use readlink in symlinks.sh