index.js to work as normal