index.js adding the proper baseUrl