Reordering script.rb methods. Simplifying CapybaraElement#exists?. Fixing module refs in rspec.rb