Build batch and tools