See https://github.com/richb-hanover/CeroWrtScripts