more counters everywhere
support for overriding hostname in config