Fix for periodic directory refresh.
// FREEBIE