nice idea, i think it was discussed already in some way on lancersreactor, yet it has one major flaw.
you would always have to restart the game/server (if in multiplayer) to use the new values for commodities...
it wouldnt be that hard to write such a program (but dont ask me, i only know a bit how to use .php ), but without (again...) having the source code from FL, such an efforts would not generete appropiate results i fear...