Fixed up the plugin loader