modified order in which plugins are registered