Made the plugin script into a plugin JAR project