Add check-smart.rb
Merge remote-tracking branch 'origin/check-smart' into develop