diff --git a/galleria.module b/galleria.module
index 21fdfa9..4f8bc99 100644
--- a/galleria.module
+++ b/galleria.module
@@ -132,7 +132,7 @@ function galleria_includes() {
     // include files
     drupal_add_css($path . '/galleria.container.css');
     drupal_add_js($path . '/js/jquery.galleria.js');
-    drupal_add_js($path . '/js/themes/classic/galleria.classic.js');
+    drupal_add_js(array('galleria' => array( 'path' => $path )), array('type' => 'setting', 'scope' => JS_DEFAULT));
     drupal_add_js($path . '/js/galleria.load.js');
     
     $included = TRUE;
diff --git a/js/galleria.load.js b/js/galleria.load.js
index 1215623..1530791 100644
--- a/js/galleria.load.js
+++ b/js/galleria.load.js
@@ -15,6 +15,7 @@
 		    //min_scale_ratio: 1,
 		    show_info:true
 	    };
+            Galleria.loadTheme('/' + settings.galleria.path + '/js/themes/classic/galleria.classic.js');
 	    $('.galleria-content', context).galleria(opt);
     }
   }
