Added command check