modifying sync_tag_file.sh