Fixed sync.sh