Adding more ENV variables and cleaning up some unused variables.
Do not reset values, just rewrite them

Rewrite data once we have new values. This will happen on the end of the
thread.
Adding versions for each extagent