added setting of COMMAND constant in the plugin factory