modified to work with the new download and output that. must fix out data to separate log text from actual data output