beautify and fix up all plugins to use the new commands api