set up complete preprocessing for chroma