add ability to write stats URI
3 files changed