modified symlink.sh