improved and fixed script for processing data from benchmarking