added local and remote statistic script