Changes to index map script. Before change to Providers