purge and initial subdir stuff