added verbose mode and possibility to configure it from ENV