Add checks for key directories.