added flash.rb