multiprocessing functionality for validation script