scoping the helpers and update for capybara