Bash script to run in order for preProcessing