Hotfix/rounding fix updated amounts

Good point, I adjusted the code to write to a different dir when we're in production