Add plotly routine, plus dealt with some gremlins