loadcurrencydata.py has been refactored