Updated door-action.rb