Adding failure message support in check_command..