add statistic and start shellscript