diff --git a/backstretch.admin.inc b/backstretch.admin.inc
index d3d9a12..3f4222a 100644
--- a/backstretch.admin.inc
+++ b/backstretch.admin.inc
@@ -5,12 +5,27 @@
  */
 function backstretch_admin_settings() {
   $form = array();
-  $form['backstretch_image_url'] = array(
-    '#title' => t('Image URL'),
-    '#description' => t('URL of picture to display as backstretched background (begin with / if local to drupal). Leave blank for none.'),
+
+  $form['bgs'] = array(
+    '#title' => t('backgrounds'),
+    '#type' => 'fieldset',
+    '#collapsible' => TRUE,
+    '#collapsed' => TRUE,
+  );
+  $form['bgs']['backstretch_image_url'] = array(
+    '#title' => t('Default Image URL'),
+    '#description' => t('Default URL of picture to display as backstretched background (begin with / if local to drupal). Leave blank for none.'),
     '#type' => 'textfield',
     '#default_value' => variable_get('backstretch_image_url', ''),
   );
+  if (!module_exists('context')) {
+    $form['bgs']['backstretch_image_url_paths'] = array(
+      '#title' => t('backstretch paths and their images.'),
+      '#description' => t('every line is a separate entry. <br> Separate the path fro the image path with the | character.<br><front>|image1<br>node/xx|image2'),
+      '#type' => 'textarea',
+      '#default_value' => variable_get('backstretch_image_url_paths', ''),
+    );
+  }
   $form['advanced'] = array(
     '#title' => t('Advanced'),
     '#type' => 'fieldset',
diff --git a/backstretch.module b/backstretch.module
index 48249eb..fc66cf2 100644
--- a/backstretch.module
+++ b/backstretch.module
@@ -46,28 +46,53 @@ function backstretch_menu() {
  * Loads the backstretch library and adds stretched image to page.
  */
 function backstretch_page_alter(&$page) {
+  $current_path = drupal_get_path_alias($_GET['q']);
   if (($library = libraries_load('backstretch')) && !empty($library['loaded'])) {
-    
-    if (module_exists('context')) { 
+
+    if (module_exists('context')) {
       if ($plugin = context_get_plugin('reaction', 'backstretch')) {
         $plugin->execute();
       }
     }
+    else{
+      $lines = explode("\n",variable_get('backstretch_image_url_paths', array()));
+      $paths = array();
+      if (is_array($lines)) {
+        foreach($lines as $line){
+          $items = explode('|',$line);
+          $paths[] = array(
+            'path' => $items[0],
+            'image' => $items[1],
+          );
+        }
+      }
+      $paths[] = array(
+        'path' => '*' ,
+        'image' => variable_get('backstretch_image_url', ''),
+      );
+
+      foreach($paths as $path){
+        if(drupal_match_path($current_path,$path['path'])){
+            $image = $path['image'];
+            break;
+        }
+      }
+    }
 
-    if ($url = variable_get('backstretch_image_url', '') || $plugin) {
+    if ($url = $image || $plugin) {
       $settings = array(
-        'backstretchURL' => variable_get('backstretch_image_url', ''),
+        'backstretchURL' => $image,
         'backstretchMinWidth' => variable_get('backstretch_min_width', 0),
       );
 
       if (variable_get('backstretch_scroller', FALSE)) {
         $settings['backstretchScroller'] = TRUE;
         $settings['backstretchScrollerAdj'] = variable_get('backstretch_scroller_adjustment', 0);
-      } 
+      }
       drupal_add_js($settings, 'setting');
       drupal_add_js(drupal_get_path('module', 'backstretch') .'/bs.js', array('scope' => 'footer'));
-    } 
-  } 
+    }
+  }
 }
 
 /**
