made master control file, with local processing