Update to use latest basis api.
Change command line parameters
Allow for range download.