build bat