Update recalculate_resources_charged.py