added statement for getting plugins.