Removed func reference from sync.sh