Tested scripts on HepC data and got correct output