Fixing requires in index.js