binary: refactor verbose/quiet environment variable logic