Adapt index.html to retrieve data with the new directiories configuration