batch processing for activescaffold