updated ec_squash.rb