Validated and compressed the plugin