added delivery method in environment.rb