Added the -r option to specify where to download result files.