Rewrite the plugin a lot.