use $data_dir from the configuration