Add moonscript support
Fixes in some modules