add tracking for directories loaded