Added check definition and config checking