rename loaded_data to loaded_sram
Export function working