Index: trunk/bin/fb-cgi.pl
===================================================================
--- trunk/bin/fb-cgi.pl	(revision 7)
+++ trunk/bin/fb-cgi.pl	(revision 9)
@@ -7,5 +7,6 @@
 my $q = CGI->new;
 
-my $src_file = get_src_file($q->param('form_id'));
+my $form_id = $q->param('form_id');
+my $src_file = get_src_file($form_id);
 
 my $parser = Text::FormBuilder->new;
@@ -16,5 +17,5 @@
     # call storage function
 
-    my $plugin = 'DumpParams';
+    my $plugin = 'StoreSQLite';
     
     eval "use $plugin;";
@@ -23,5 +24,5 @@
 
     # plugin process method should return a true value
-    if ($plugin->process($q, $form)) {
+    if ($plugin->process($q, $form, $form_id)) {
         # show thank you page
     } else {
@@ -37,4 +38,5 @@
 sub get_src_file {
     my $form_id = shift;
-    return "$form_id.txt";
+    my $form_spec_path = 'F:/Projects/SurveyMaker/form_specs';
+    return "$form_spec_path/$form_id.txt";
 }
