         name = $(this).children('input[_name="name"]').val()
         object = $(this).children('input[_name="object"]').val()
         configurations.push({type: 'delete_object', name: name, object: object})
+      when 'custom_command_value'
+        command = $(this).children('input[_name="command"]').val().trim()
+        value = $(this).children('input[_name="value"]').val().trim()
+        configurations.push({type: 'custom_command_value', command: command, value: value})
+      when 'custom_command_age'
+        command = $(this).children('input[_name="command"]').val()
+        age = $(this).children('input[_name="age"]').val()
+        configurations.push({type: 'custom_command_age', command: command, age: age})
   )
   $("##{id} > input[name=configurations]").attr('value', JSON.stringify(configurations))

      <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/>
    </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)
      when 'custom_command_value'
        addCustomCommandValueConfiguration(container_selector, c['command'], c['value'])
      when 'custom_command_age'
        addCustomCommandAgeConfiguration(container_selector, c['command'], c['age'])

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