Bugfix: Now can actually index a specific directory