forgot to add use getopts line.
rearranged order of commands so can do stuff while downloading
added timestamp log