diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
index dd270a4..2df266f 100755
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
@@ -24,7 +24,7 @@ function commerce_node_checkout_expire_admin_form($form, $form_state) {
     '#type' => 'textarea',
     '#title' => t('Expire reminder body'),
     '#description' => t('Body of email sent to user before their node is about to expire.'),
-    '#default_value' => variable_get('commerce_node_checkout_expire_body', commerce_node_checkout_expire_default_expire_body())
+    '#default_value' => variable_get('commerce_node_checkout_expire_body', '')
   );
 
   // Display the list of available placeholders if token module is installed.
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.info b/commerce_node_checkout_expire/commerce_node_checkout_expire.info
index d4f21df..637a713 100644
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.info
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.info
@@ -6,4 +6,10 @@ dependencies[] = commerce_node_checkout
 dependencies[] = interval
 dependencies[] = date
 dependencies[] = date_popup
-package = Commerce (contrib)
\ No newline at end of file
+package = Commerce (contrib)
+; Information added by drupal.org packaging script on 2012-09-05
+version = "7.x-1.x-dev"
+core = "7.x"
+project = "commerce_node_checkout"
+datestamp = "1346804071"
+
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.install b/commerce_node_checkout_expire/commerce_node_checkout_expire.install
index 92c1822..335d522 100755
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.install
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.install
@@ -34,7 +34,7 @@ function commerce_node_checkout_expire_install() {
   // And their instances.
   foreach (_commerce_node_checkout_expire_installed_instances() as $field_name => $instance_detail) {
     // Look for existing instance.
-    $instance = field_info_instance($instance_detail['entity_type'], $instance_detail['bundle'], $field_name, $type);
+    $instance = field_info_instance($instance_detail['entity_type'],$field_name, $instance_detail['bundle']);
 
     if (empty($instance)) {
       field_create_instance($instance_detail);
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.module b/commerce_node_checkout_expire/commerce_node_checkout_expire.module
index 1d05588..d0025fd 100755
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.module
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.module
@@ -1,139 +1,320 @@
-<?php
-/**
- * @file
- * Provides core hooks and the like for the module
- * @copyright Copyright(c) 2011 Rowlands Group
- * @license GPL v2 http://www.fsf.org/licensing/licenses/gpl.html
- * @author Lee Rowlands leerowlands at rowlandsgroup dot com
- */
-
-/**
- * Implements hook_help().
- */
-function commerce_node_checkout_expire_help($path, $arg) {
-  switch ($path) {
-    case 'admin/help#commerce_node_checkout_expire':
-      return t("Enables content published via Commerce Node Checkout to be unpublished.");
-  }
-}
-
-/**
- * Implements hook_menu().
- */
-function commerce_node_checkout_expire_menu() {
-  // Menu callback to allow the user to purchase an extension on their published node.
-  $items['node/%node/relist'] = array(
-    'title callback' => 'commerce_node_checkout_expire_relist_title',
-    'title arguments' => array(1),
-    'file' => 'commerce_node_checkout_expire.pages.inc',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('commerce_node_checkout_expire_relist_form', 1),
-    'description' => 'Renew your listing',
-    'access arguments' => array(1),
-    'access callback' => 'commerce_node_checkout_expire_relist_access',
-    'type' => MENU_LOCAL_TASK,
-  );
-  $items['admin/commerce/config/node-checkout-expire'] = array(
-    'title' => 'Node Checkout Expire',
-    'file' => 'commerce_node_checkout_expire.admin.inc',
-    'description' => 'Configure node checkout expiry settings',
-    'access arguments' => array('administer commerce node checkout expire'),
-    'type' => MENU_NORMAL_ITEM,
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('commerce_node_checkout_expire_admin_form')
-  );
-  return $items;
-}
-
-/**
- * Implements hook_permission().
- */
-function commerce_node_checkout_expire_permission() {
-  return array(
-    'administer commerce node checkout expire' => array(
-      'title' => t('Administer Commerce Node Checkout'),
-      'description' => t('Perform administration tasks for Commerce Node Checkout.'),
-    ),
-  );
-}
-
-/**
- * Implements hook_mail
- */
-function commerce_node_checkout_expire_mail() {
-
-}
-
-/************************************************************
- * Access callbacks
- ************************************************************/
-/**
- * Access callback to check associated node is able to be relisted.
- *
- * @param object $node
- *   The node object
- */
-function commerce_node_checkout_expire_relist_access($node) {
-  $products = commerce_node_checkout_get_products_by_type($node->type);
-  $line_items = commerce_node_checkout_expire_get_line_item_by_node($node);
-  return !empty($products) && !empty($line_items);
-}
-
-/************************************************************
- * Title callbacks
- ************************************************************/
-/**
- * Title callback to relist node
- *
- * @param object $node
- *   The node object
- */
-function commerce_node_checkout_expire_relist_title($node) {
-  return t('Relist @title', array('@title' => $node->title));
-}
-
-/************************************************************
- * Module functions
- ************************************************************/
-
-/**
- * Fetch most current line item associated with a node
- *
- * @param object $node
- *   The node object
- *
- * @return array
- *   the associated line items
- *
- * @see EntityFieldQuery
- */
-function commerce_node_checkout_expire_get_line_item_by_node($node) {
-  $query = new EntityFieldQuery();
-  $query->entityCondition('entity_type', 'commerce_line_item');
-  $query->entityCondition('bundle', 'commerce_node_checkout');
-  $query->fieldCondition('commerce_node_checkout_node', 'nid', $node->nid);
-  $query->fieldOrderBy('commerce_node_checkout_expires', 'value', 'DESC');
-  // We only need the one that expires last.
-  $query->range(1, 0);
-  $results = $query->execute();
-  if (!empty($results['commerce_line_item'])) {
-    return commerce_line_item_load_multiple(array_keys($results['commerce_line_item']));
-  }
-  return array();
-}
-
-/**
- * Implements hook_commerce_node_checkout_line_item_alter
- */
-function commerce_node_checkout_expire_commerce_node_checkout_line_item_alter(&$line_item, $product, $node) {
-  // Load the interval field from the product.
-  $interval = field_get_items('commerce_product', $product, 'commerce_node_checkout_expire');
-  if ($interval && !empty($interval[0])) {
-    // We have an expiry field - apply it.
-    $due_date_obj = new DateObject('now');
-    if (interval_apply_interval($due_date_obj, $interval[0])) {
-      // Update the expiry field on the line item.
-      $line_item->commerce_node_checkout_expires[LANGUAGE_NONE][0]['value'] = $due_date_obj->format('U');
-    }
-  }
-}
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
+index dd270a4..2df266f 100755
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.admin.inc
+@@ -24,7 +24,7 @@ function commerce_node_checkout_expire_admin_form($form, $form_state) {
+     '#type' => 'textarea',
+     '#title' => t('Expire reminder body'),
+     '#description' => t('Body of email sent to user before their node is about to expire.'),
+-    '#default_value' => variable_get('commerce_node_checkout_expire_body', commerce_node_checkout_expire_default_expire_body())
++    '#default_value' => variable_get('commerce_node_checkout_expire_body', '')
+   );
+ 
+   // Display the list of available placeholders if token module is installed.
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.info b/commerce_node_checkout_expire/commerce_node_checkout_expire.info
+index d4f21df..637a713 100644
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.info
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.info
+@@ -6,4 +6,10 @@ dependencies[] = commerce_node_checkout
+ dependencies[] = interval
+ dependencies[] = date
+ dependencies[] = date_popup
+-package = Commerce (contrib)
+\ No newline at end of file
++package = Commerce (contrib)
++; Information added by drupal.org packaging script on 2012-09-05
++version = "7.x-1.x-dev"
++core = "7.x"
++project = "commerce_node_checkout"
++datestamp = "1346804071"
++
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.install b/commerce_node_checkout_expire/commerce_node_checkout_expire.install
+index 92c1822..335d522 100755
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.install
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.install
+@@ -34,7 +34,7 @@ function commerce_node_checkout_expire_install() {
+   // And their instances.
+   foreach (_commerce_node_checkout_expire_installed_instances() as $field_name => $instance_detail) {
+     // Look for existing instance.
+-    $instance = field_info_instance($instance_detail['entity_type'], $instance_detail['bundle'], $field_name, $type);
++    $instance = field_info_instance($instance_detail['entity_type'],$field_name, $instance_detail['bundle']);
+ 
+     if (empty($instance)) {
+       field_create_instance($instance_detail);
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.module b/commerce_node_checkout_expire/commerce_node_checkout_expire.module
+index 1d05588..e69de29 100755
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.module
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.module
+@@ -1,139 +0,0 @@
+-<?php
+-/**
+- * @file
+- * Provides core hooks and the like for the module
+- * @copyright Copyright(c) 2011 Rowlands Group
+- * @license GPL v2 http://www.fsf.org/licensing/licenses/gpl.html
+- * @author Lee Rowlands leerowlands at rowlandsgroup dot com
+- */
+-
+-/**
+- * Implements hook_help().
+- */
+-function commerce_node_checkout_expire_help($path, $arg) {
+-  switch ($path) {
+-    case 'admin/help#commerce_node_checkout_expire':
+-      return t("Enables content published via Commerce Node Checkout to be unpublished.");
+-  }
+-}
+-
+-/**
+- * Implements hook_menu().
+- */
+-function commerce_node_checkout_expire_menu() {
+-  // Menu callback to allow the user to purchase an extension on their published node.
+-  $items['node/%node/relist'] = array(
+-    'title callback' => 'commerce_node_checkout_expire_relist_title',
+-    'title arguments' => array(1),
+-    'file' => 'commerce_node_checkout_expire.pages.inc',
+-    'page callback' => 'drupal_get_form',
+-    'page arguments' => array('commerce_node_checkout_expire_relist_form', 1),
+-    'description' => 'Renew your listing',
+-    'access arguments' => array(1),
+-    'access callback' => 'commerce_node_checkout_expire_relist_access',
+-    'type' => MENU_LOCAL_TASK,
+-  );
+-  $items['admin/commerce/config/node-checkout-expire'] = array(
+-    'title' => 'Node Checkout Expire',
+-    'file' => 'commerce_node_checkout_expire.admin.inc',
+-    'description' => 'Configure node checkout expiry settings',
+-    'access arguments' => array('administer commerce node checkout expire'),
+-    'type' => MENU_NORMAL_ITEM,
+-    'page callback' => 'drupal_get_form',
+-    'page arguments' => array('commerce_node_checkout_expire_admin_form')
+-  );
+-  return $items;
+-}
+-
+-/**
+- * Implements hook_permission().
+- */
+-function commerce_node_checkout_expire_permission() {
+-  return array(
+-    'administer commerce node checkout expire' => array(
+-      'title' => t('Administer Commerce Node Checkout'),
+-      'description' => t('Perform administration tasks for Commerce Node Checkout.'),
+-    ),
+-  );
+-}
+-
+-/**
+- * Implements hook_mail
+- */
+-function commerce_node_checkout_expire_mail() {
+-
+-}
+-
+-/************************************************************
+- * Access callbacks
+- ************************************************************/
+-/**
+- * Access callback to check associated node is able to be relisted.
+- *
+- * @param object $node
+- *   The node object
+- */
+-function commerce_node_checkout_expire_relist_access($node) {
+-  $products = commerce_node_checkout_get_products_by_type($node->type);
+-  $line_items = commerce_node_checkout_expire_get_line_item_by_node($node);
+-  return !empty($products) && !empty($line_items);
+-}
+-
+-/************************************************************
+- * Title callbacks
+- ************************************************************/
+-/**
+- * Title callback to relist node
+- *
+- * @param object $node
+- *   The node object
+- */
+-function commerce_node_checkout_expire_relist_title($node) {
+-  return t('Relist @title', array('@title' => $node->title));
+-}
+-
+-/************************************************************
+- * Module functions
+- ************************************************************/
+-
+-/**
+- * Fetch most current line item associated with a node
+- *
+- * @param object $node
+- *   The node object
+- *
+- * @return array
+- *   the associated line items
+- *
+- * @see EntityFieldQuery
+- */
+-function commerce_node_checkout_expire_get_line_item_by_node($node) {
+-  $query = new EntityFieldQuery();
+-  $query->entityCondition('entity_type', 'commerce_line_item');
+-  $query->entityCondition('bundle', 'commerce_node_checkout');
+-  $query->fieldCondition('commerce_node_checkout_node', 'nid', $node->nid);
+-  $query->fieldOrderBy('commerce_node_checkout_expires', 'value', 'DESC');
+-  // We only need the one that expires last.
+-  $query->range(1, 0);
+-  $results = $query->execute();
+-  if (!empty($results['commerce_line_item'])) {
+-    return commerce_line_item_load_multiple(array_keys($results['commerce_line_item']));
+-  }
+-  return array();
+-}
+-
+-/**
+- * Implements hook_commerce_node_checkout_line_item_alter
+- */
+-function commerce_node_checkout_expire_commerce_node_checkout_line_item_alter(&$line_item, $product, $node) {
+-  // Load the interval field from the product.
+-  $interval = field_get_items('commerce_product', $product, 'commerce_node_checkout_expire');
+-  if ($interval && !empty($interval[0])) {
+-    // We have an expiry field - apply it.
+-    $due_date_obj = new DateObject('now');
+-    if (interval_apply_interval($due_date_obj, $interval[0])) {
+-      // Update the expiry field on the line item.
+-      $line_item->commerce_node_checkout_expires[LANGUAGE_NONE][0]['value'] = $due_date_obj->format('U');
+-    }
+-  }
+-}
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
+index 63ce17f..8a09777 100755
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
+@@ -15,7 +15,8 @@ function commerce_node_checkout_expire_relist_form($form, $form_state, $node) {
+     '#value' => $node,
+     '#type' => 'value'
+   );
+-  $products = commerce_node_checkout_get_products_by_type($type);
++  $products = commerce_node_checkout_get_products_by_type($node->type);
++
+   if (count($products) > 1) {
+     $form['product'] = array(
+       '#type' => 'select',
+@@ -25,15 +26,22 @@ function commerce_node_checkout_expire_relist_form($form, $form_state, $node) {
+     );
+   }
+   else {
++
+     $form['product'] = array(
+       '#type' => 'value',
+-      '#value' => array_shift(array_keys($products))
++      '#value' => array_shift($products)
+     );
+   }
+-  $form = array(
++  $form['markup'] = array(
++  	'#type'=>'markup',
+     '#markup' => t('Relist form goes here')
+   );
+-  return $form();
++  
++  $form['submit'] = array(
++  	'#type'=>'submit',
++	'#value'=>t('Submit'),
++  );
++  return $form;
+ }
+ 
+ /**
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
+index 041b6b4..03ceed8 100755
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
++++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
+@@ -63,8 +63,9 @@ function commerce_node_checkout_expire_load_expiring_line_items($time_string) {
+   $now = new DateObject($time_string);
+   $query->fieldCondition('commerce_node_checkout_expires', 'value', $now->format('U'), '<=');
+   $results = $query->execute();
++
+   if (!empty($results['commerce_line_item'])) {
+-    return array('line_items' => commerce_line_item_load_multiple(array_keys($results['commerce_order'])));
++    return array('line_items' => commerce_line_item_load_multiple(array_keys($results['commerce_line_item'])));
+   }
+   return array('line_items' => array());
+ }
+diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc
+deleted file mode 100755
+index 918edf1..0000000
+--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc
++++ /dev/null
+@@ -1,72 +0,0 @@
+-<?php
+-/**
+- * @file
+- * Provides default rules needed by the module
+- */
+-
+-/**
+- * Implementation of hook_default_rules_configuration().
+- */
+-function commerce_node_checkout_expire_default_rules_configuration() {
+-  $items = array();
+-  $items['commerce_node_checkout_unpublish_node'] = entity_import('rules_config', '{ "commerce_node_checkout_unpublish_node" : {
+-      "LABEL" : "Commerce Node Checkout Unpublish Node",
+-      "PLUGIN" : "reaction rule",
+-      "REQUIRES" : [ "rules", "commerce_node_checkout_expire" ],
+-      "ON" : [ "cron" ],
+-      "DO" : [
+-        { "commerce_node_checkout_expire_load_expiring_line_items" : {
+-            "USING" : { "timestamp" : "now" },
+-            "PROVIDE" : { "line_items" : { "line_items" : "Expiring line items" } }
+-          }
+-        },
+-        { "commerce_node_checkout_expire_load_expiring_nodes" : {
+-            "USING" : { "line_items" : [ "line_items" ] },
+-            "PROVIDE" : { "nodes" : { "nodes" : "Unpublished Nodes" } }
+-          }
+-        },
+-        { "LOOP" : {
+-            "USING" : { "list" : [ "nodes" ] },
+-            "ITEM" : { "node" : "Expired node" },
+-            "DO" : [ { "node_unpublish" : { "node" : [ "node" ] } } ]
+-          }
+-        }
+-      ]
+-    }
+-  }');
+-  $items['commerce_node_checkout_reminder'] = entity_import('rules_config', '{ "rules_commerce_node_checkout_reminder" : {
+-      "LABEL" : "Commerce Node Checkout Reminder",
+-      "PLUGIN" : "reaction rule",
+-      "ACTIVE" : false,
+-      "REQUIRES" : [ "rules", "commerce_node_checkout_expire" ],
+-      "ON" : [ "cron" ],
+-      "DO" : [
+-        { "commerce_node_checkout_expire_load_expiring_line_items" : {
+-            "USING" : { "timestamp" : "-10 days" },
+-            "PROVIDE" : { "line_items" : { "line_items" : "Expiring line items" } }
+-          }
+-        },
+-        { "commerce_node_checkout_expire_load_expiring_nodes" : {
+-            "USING" : { "line_items" : [ "line-items" ] },
+-            "PROVIDE" : { "nodes" : { "nodes" : "Expiring Nodes" } }
+-          }
+-        },
+-        { "LOOP" : {
+-            "USING" : { "list" : [ "nodes" ] },
+-            "ITEM" : { "node" : "Expiring node" },
+-            "DO" : [
+-              { "mail" : {
+-                  "to" : [ "node:author:mail" ],
+-                  "subject" : "Your node is expiring in 10 days",
+-                  "message" : "Hi [node:author:name],\u000D\u000A\u000D\u000AThe node [node:title] you bought is expiring in 10 days ([node:url]).\u000D\u000A\u000D\u000AKind regards",
+-                  "language" : [ "" ]
+-                }
+-              }
+-            ]
+-          }
+-        }
+-      ]
+-    }
+-  }');
+-  return $items;
+-}
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
index 63ce17f..8a09777 100755
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.pages.inc
@@ -15,7 +15,8 @@ function commerce_node_checkout_expire_relist_form($form, $form_state, $node) {
     '#value' => $node,
     '#type' => 'value'
   );
-  $products = commerce_node_checkout_get_products_by_type($type);
+  $products = commerce_node_checkout_get_products_by_type($node->type);
+
   if (count($products) > 1) {
     $form['product'] = array(
       '#type' => 'select',
@@ -25,15 +26,22 @@ function commerce_node_checkout_expire_relist_form($form, $form_state, $node) {
     );
   }
   else {
+
     $form['product'] = array(
       '#type' => 'value',
-      '#value' => array_shift(array_keys($products))
+      '#value' => array_shift($products)
     );
   }
-  $form = array(
+  $form['markup'] = array(
+  	'#type'=>'markup',
     '#markup' => t('Relist form goes here')
   );
-  return $form();
+  
+  $form['submit'] = array(
+  	'#type'=>'submit',
+	'#value'=>t('Submit'),
+  );
+  return $form;
 }
 
 /**
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
index 041b6b4..03ceed8 100755
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
+++ b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules.inc
@@ -63,8 +63,9 @@ function commerce_node_checkout_expire_load_expiring_line_items($time_string) {
   $now = new DateObject($time_string);
   $query->fieldCondition('commerce_node_checkout_expires', 'value', $now->format('U'), '<=');
   $results = $query->execute();
+
   if (!empty($results['commerce_line_item'])) {
-    return array('line_items' => commerce_line_item_load_multiple(array_keys($results['commerce_order'])));
+    return array('line_items' => commerce_line_item_load_multiple(array_keys($results['commerce_line_item'])));
   }
   return array('line_items' => array());
 }
diff --git a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc b/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc
deleted file mode 100755
index 918edf1..0000000
--- a/commerce_node_checkout_expire/commerce_node_checkout_expire.rules_default.inc
+++ /dev/null
@@ -1,72 +0,0 @@
-<?php
-/**
- * @file
- * Provides default rules needed by the module
- */
-
-/**
- * Implementation of hook_default_rules_configuration().
- */
-function commerce_node_checkout_expire_default_rules_configuration() {
-  $items = array();
-  $items['commerce_node_checkout_unpublish_node'] = entity_import('rules_config', '{ "commerce_node_checkout_unpublish_node" : {
-      "LABEL" : "Commerce Node Checkout Unpublish Node",
-      "PLUGIN" : "reaction rule",
-      "REQUIRES" : [ "rules", "commerce_node_checkout_expire" ],
-      "ON" : [ "cron" ],
-      "DO" : [
-        { "commerce_node_checkout_expire_load_expiring_line_items" : {
-            "USING" : { "timestamp" : "now" },
-            "PROVIDE" : { "line_items" : { "line_items" : "Expiring line items" } }
-          }
-        },
-        { "commerce_node_checkout_expire_load_expiring_nodes" : {
-            "USING" : { "line_items" : [ "line_items" ] },
-            "PROVIDE" : { "nodes" : { "nodes" : "Unpublished Nodes" } }
-          }
-        },
-        { "LOOP" : {
-            "USING" : { "list" : [ "nodes" ] },
-            "ITEM" : { "node" : "Expired node" },
-            "DO" : [ { "node_unpublish" : { "node" : [ "node" ] } } ]
-          }
-        }
-      ]
-    }
-  }');
-  $items['commerce_node_checkout_reminder'] = entity_import('rules_config', '{ "rules_commerce_node_checkout_reminder" : {
-      "LABEL" : "Commerce Node Checkout Reminder",
-      "PLUGIN" : "reaction rule",
-      "ACTIVE" : false,
-      "REQUIRES" : [ "rules", "commerce_node_checkout_expire" ],
-      "ON" : [ "cron" ],
-      "DO" : [
-        { "commerce_node_checkout_expire_load_expiring_line_items" : {
-            "USING" : { "timestamp" : "-10 days" },
-            "PROVIDE" : { "line_items" : { "line_items" : "Expiring line items" } }
-          }
-        },
-        { "commerce_node_checkout_expire_load_expiring_nodes" : {
-            "USING" : { "line_items" : [ "line-items" ] },
-            "PROVIDE" : { "nodes" : { "nodes" : "Expiring Nodes" } }
-          }
-        },
-        { "LOOP" : {
-            "USING" : { "list" : [ "nodes" ] },
-            "ITEM" : { "node" : "Expiring node" },
-            "DO" : [
-              { "mail" : {
-                  "to" : [ "node:author:mail" ],
-                  "subject" : "Your node is expiring in 10 days",
-                  "message" : "Hi [node:author:name],\u000D\u000A\u000D\u000AThe node [node:title] you bought is expiring in 10 days ([node:url]).\u000D\u000A\u000D\u000AKind regards",
-                  "language" : [ "" ]
-                }
-              }
-            ]
-          }
-        }
-      ]
-    }
-  }');
-  return $items;
-}
