Changed the path for the getPlugins function.