Rebuilt script as a Ruby command line utility with single/multiple/all browser options