Added --download_only and --upload_only arguments