Code

Turn the flags in struct dir_struct into a single variable