added weight to preprocess scripts