Added option to save only final statistics after running the simulations.