add scan directory management