Updated to account for two different API formats in the batch list.