Updated plugin code. Removed uneeded files.