Version 1.12.2

Add the bat processing function.