add directory to defaults