added scripts to preprocess data