Tracking the idx dir