Created  processing script to be converted into Rmd