Modified the call structure of perform_stats.py so that printing is not (automatically) done when calling the main function.