Script takes args, updated rates and created totals
Updated legends too