tweaked curl to use --progress-bar