added more inderection to print stats
removed python3 ref for mac os x compatibility