Automatically discover index_subdir
This should already have been renamed