added boiler plate and docstrings to webdriver script