Added provision to change index name as per current subdomain