Executing script with Selenium inside