dwg: use the directory if it is there