converting preproc pipeline to pydoit