Alteration made to retrieve and download mappings for whole database