created rsync as a goroutine function