changed default logging and added verbose option