refactor defining PDODIR & FQDBDIR