Update ec_backup.rb

incorporating suggested changes