fix config file reading in create-dataset for diff; add debug option