add preprocess python script