script to calculate exchange rates now adds values to database. Moved code to lookup exchange rate from controller to model.