added additional sum/avg functionality beyond average.sh
create long running use case
removed extra init