Redo moonscript to support v0.2.0