Is there a manual to rewrite comat scripts to Pywikibot?