config and directory