refactorizations, fixed /ds other, added permission for -p switch
fixed permission node typo in plugin.yml