Added report hook.
Reverting back to my python file.