Some minor code mods
Added reporting with plotly