impl init_plugins method