def run_executable(exec, options)
      script_href = "right_script_href="+exec.href
      # Construct the parameters to pass for the inputs
      params=options.collect { |k, v|
        "&inputs[][name]=#{k}&inputs[][value]=#{v}" unless k == :ignore_lock
        }.join('&')

      if options[:ignore_lock]
        params+="&ignore_lock=true"
      end
      # self is the actual Server object
      Log.debug "[#{Chimp.get_job_uuid}] Running executable"
      task = self.object.run_executable(script_href + params)
      return task
    end
def run_executable(exec, options)
      script_href = "right_script_href="+exec.href
      # Construct the parameters to pass for the inputs
      params=options.collect { |k, v|
        "&inputs[][name]=#{k}&inputs[][value]=#{v}" unless k == :ignore_lock
        }.join('&')

      if options[:ignore_lock]
        params+="&ignore_lock=true"
      end
      # self is the actual Server object
      Log.debug "[#{Chimp.get_job_uuid}] Running executable"
      task = self.object.run_executable(script_href + params)
      return task
    end
In order to run the task, we need to call run_executable on ourselves