Code for screening preprocs