Should the `CONF_DIRECTORY` from further down be moved above this and used here?