Add some status output
Change var scope from class to global