updated plugin to work with bucketnames with dot and with foldernames