diff --git syntaxhighlighter.module syntaxhighlighter.module
index 6f5b0d7..e178643 100755
--- syntaxhighlighter.module
+++ syntaxhighlighter.module
@@ -54,9 +54,9 @@ function syntaxhighlighter_init() {
   $styles_path = $lib_location .'/styles/';
   $scripts_path = $lib_location .'/scripts/';
 
-  drupal_add_css($styles_path .'shCore.css', 'module');
+  drupal_add_css($styles_path .'shCore.css');
   $theme = variable_get('syntaxhighlighter_theme', 'shThemeDefault.css');
-  drupal_add_css($styles_path . $theme, 'module');
+  drupal_add_css($styles_path . $theme);
 
   drupal_add_js($scripts_path .'shCore.js', 'file');
   if (variable_get('syntaxhighlighter_legacy_mode', 0)) {
@@ -319,7 +319,6 @@ function _syntaxhighlighter_scan_lib_location() {
   $directories = array(
     'sites/all/libraries',
     drupal_get_path('module', 'syntaxhighlighter'),
-    file_directory_path(),
   );
   foreach ($directories as $d) {
     foreach ( file_scan_directory( $d,  "#shCore\.js$#", array( 'nomask' =>"/(\.\.?|CVS|src)$/" )) as $filename => $file_info) {
