Added dir_name to code database