Fixed some checking that plugins are installed. Added the -f flag.