adjust index_local.htm and index.htm files