added publish-subscribe pattern to reporting

added publish-subscribe pattern to reporting so reporting will work when autopub is turned off