logger instead of puts, it's not running in a CLI anymore