Adding batch saving functionality in pre-processing and greenness