Refactored seed.rb.