I\'m familiar with how to script downloading data from a url, but I would like to write a script which does the following when run: