Implement simple reporter script
Simplify code