If statement errors now include the offending if statement.
Remove unused import
Make sure 'check' command handles non-ascii configs