sorted out print/logs and added support for verbosity flag