Delete unused and obsolete plugins
Use bash (not sh) in scripts