diff --git a/sites/all/modules/fillpdf/fillpdf.module b/sites/all/modules/fillpdf/fillpdf.module
index d1ed044..55a417f 100644
--- a/sites/all/modules/fillpdf/fillpdf.module
+++ b/sites/all/modules/fillpdf/fillpdf.module
@@ -339,6 +339,13 @@ function fillpdf_merge_pdf($fid, $nids = null, $webform_arr = null, $sample = nu
       }
     }
   }
+  
+  // Implementation hook_fillpdf_fields_alter to let other modules alter fields before pdf generation
+  $context = array(
+    'nodes' => $nodes,
+    'webforms' => $webforms,
+  );
+  drupal_alter('fillpdf_fields', $fields, $context);
 
   $output_name = preg_replace('/[^a-zA-Z0-9_]/', '', $fillpdf_info->title) .'.pdf';
   $pdf_data = _fillpdf_get_file_contents($fillpdf_info->url, "<front>");
@@ -421,6 +428,7 @@ function fillpdf_merge_pdf($fid, $nids = null, $webform_arr = null, $sample = nu
   drupal_add_http_header('Content-Transfer-Encoding', 'binary');
   echo $data;
   drupal_exit();
+  
 }
 
 /**
