<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def submitTemplate(id, data={}):
 """ Submit an existing Template. Args: `id`: ID of the template to submit `data`: json data containing the input_vars Returns: Dictionary containing Command Object details. """

        conn = Qubole.agent()
        path = str(id) + "/run"
        return conn.post(Template.element_path(path), data)