Updated hooks to allow for selenium grid nonsense to be used