simplify gather data - dont depend on parsing environ at all