diff --git a/sites/all/modules/contrib/features/features.admin.inc b/sites/all/modules/contrib/features/features.admin.inc
index fd996c5..35334c3 100644
--- a/sites/all/modules/contrib/features/features.admin.inc
+++ b/sites/all/modules/contrib/features/features.admin.inc
@@ -206,9 +206,13 @@ function features_export_build_form_submit($form, &$form_state) {
   $export = features_populate($stub, $form_state['values']['sources']['dependencies'], $module_name);
 
   // Directly copy the following attributes
-  $attr = array('name', 'description', 'package');
+  $attr = array('name', 'description', 'package' , 'scripts' , 'stylesheets');
   foreach ($attr as $key) {
     $export[$key] = isset($form_state['values'][$key]) ? $form_state['values'][$key] : NULL;
+    //allow scripts and stylesheets from the form, they are not in form_state
+    if (isset($form['#feature']->info[$key])) {
+      $export[$key] = $form['#feature']->info[$key];
+    }
   }
   // If either update status-related keys are provided, add a project key
   // corresponding to the module name.
diff --git a/sites/all/modules/contrib/features/features.export.inc b/sites/all/modules/contrib/features/features.export.inc
index 7443503..5f6a3fe 100644
--- a/sites/all/modules/contrib/features/features.export.inc
+++ b/sites/all/modules/contrib/features/features.export.inc
@@ -164,6 +164,13 @@ function _features_export_maximize_dependencies($dependencies, $module_name = ''
 function features_export_prepare($export, $module_name, $reset = FALSE) {
   $existing = features_get_modules($module_name, $reset);
 
+  if(isset($export['scripts'])) {
+    $existing->info['scripts'] = $export['scripts'];
+  }
+  if(isset($export['stylesheets'])) {
+    $existing->info['stylesheets'] = $export['stylesheets'];
+  }
+
   // Prepare info string -- if module exists, merge into its existing info file
   $defaults = $existing ? $existing->info : array('core' => '7.x', 'package' => 'Features');
   $export = array_merge($defaults, $export);
@@ -181,7 +188,7 @@ function features_export_prepare($export, $module_name, $reset = FALSE) {
 
   // Order info array.
   $standard_info = array();
-  foreach (array('name', 'description', 'core', 'package', 'php', 'version', 'project', 'dependencies') as $item) {
+  foreach (array('name', 'description', 'core', 'package', 'php', 'version', 'project', 'dependencies', 'stylesheets' , 'scripts') as $item) {
     if (isset($export[$item])) {
       $standard_info[$item] = $export[$item];
     }
