updating logging and verbosity. adding upload functionality.