Added Sauce Labs functionality

Tidied code