Fixed bad existing symlink check
added sync after rsync