Added a session scope to the report (JFG-724)

Propose to convert `plots` to a local variable.