preproc script