move the report to it's own lib
dump old sys.argv way and use global var