Added conditions to hello.rb