Moving calculate_stats and check_slas after calc