added shared memory/update/sendStatistics and simple bash script