BAT plugin - units