added missing i18n classes to download
switched to running total record queries