Bug fix for sync.sh