outsourced the jump detection and outlier analysis in seperate scrips - we should develope and test them seperately before using them in the pipeline script!