finally added new html routine in convert for a reimplementation of htmlplots and some output to sca.py