Simple file posting works. Brittle.
Refactoring globals to as single config object