Replaced realpath by readlink.