adding a stat command to the plugin