- better logging
- better cmd_options handling