add a 'good' bool to sha detection, use in CLI script