Update Plugin.java

Fixes for Folder Plugin