updated application to load the plugins better