       <a href="#" class="action" onclick="addRemoveTagConfiguration('#{container_selector}');return false;">Remove tag</a><br/>
       <a href="#" class="action" onclick="addAddObjectConfiguration('#{container_selector}');return false;">Add object</a><br/>
       <a href="#" class="action" onclick="addRemoveObjectConfiguration('#{container_selector}');return false;">Remove object</a><br/>
+      <a href="#" class="action" onclick="addCustomCommandValueConfiguration('#{container_selector}');return false;">Command value</a><br/>
+      <a href="#" class="action" onclick="addCustomCommandAgeConfiguration('#{container_selector}');return false;">Command age</a><br/>
     </div>
   """
   f.children('.configurations_selection').html(popup)

        addAddObjectConfiguration(container_selector, c['name'], c['object'], false)
      when 'delete_object'
        addRemoveObjectConfiguration(container_selector, c['name'], c['object'], false)

  popup = """
    <a href="#" class="action">&nbsp;+&nbsp;</a>

  html = """<div configurationType="age">
      Refresh
      <input type="text" _name="name" value="#{name}" />
      every
      <input type="text" _name="age" value="#{age}" />
      seconds
      <a href="#" class="action" onclick="fadeOutAndRemove($(this).parent());return false;">&nbsp;x&nbsp;</a>
    </div>"""

  el = $(html)
  $(container).append(el)
  el.hide().fadeIn(300) if fade


window.addCustomCommandValueConfiguration = (container, command = '', value = '', fade = true) ->
  html = """<div configurationType="custom_command_value">
      Command
      <input type="text" _name="command" value="#{command}" />
      Assert value
      <input type="text" _name="value" value="#{value}" />
      <a href="#" class="action" onclick="fadeOutAndRemove($(this).parent());return false;">&nbsp;x&nbsp;</a>
    </div>"""

  el = $(html)
  $(container).append(el)
  el.hide().fadeIn(300) if fade


window.addCustomCommandAgeConfiguration = (container, command = '', age = '', fade = true) ->
  html = """<div configurationType="custom_command_age">
      Execute
      <input type="text" _name="command" value="#{command}" />
      every
      <input type="text" _name="age" value="#{age}" />
      seconds
