adding directory indices to seeded templates