preproc_all script