tidied up download_and_parse script; much nicer