some much needed updates to swirl2html -- now handles script type questions