Housekeeping and <directory> setup