Updated build and run scripts and upgraded selenium to 2.42.2