Rename use_scratch to scratch_dir to be clearer.