Merging stathub and autostat