improved symlink behavior