added keep-running.sh and adjusted statistics-process.sh