add mkdir for indices_location