add macros ProcessorBagScan