Code Cleanup, added browser selection for selenium