Update check-smart.rb