fixing index.js not being added as a component
added some logging to the stubs