<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def execute_script(self, string, args=None):
 """ Execute script passed in to function @type string: str @value string: Script to execute @type args: dict @value args: Dictionary representing command line args @rtype: int @rtype: response code """

        result = None

        try:
            result = self.driver_wrapper.driver.execute_script(string, args)
            return result
        except WebDriverException:
            if result is not None:
                message = 'Returned: ' + str(result)
            else:
                message = "No message. Check your Javascript source: {}".format(string)

        raise WebDriverJavascriptException.WebDriverJavascriptException(self.driver_wrapper, message)