Final SSR, some logic for data quality added