Make sure BATCH is defined