script to calculate exchange rates. still need to add the data to the database