add optional argument force_recrawl to getPlugins function