Index: trunk/pstamp/scripts/pstamp_webrequest.pl
===================================================================
--- trunk/pstamp/scripts/pstamp_webrequest.pl	(revision 16899)
+++ trunk/pstamp/scripts/pstamp_webrequest.pl	(revision 16959)
@@ -42,4 +42,6 @@
 		       );
 
+use Cwd;
+
 my $missing_tools;
 
@@ -54,5 +56,4 @@
 }
 
-
 # if -list is used, it must be the first argument
 my $listMode;
@@ -63,5 +64,6 @@
 }
 
-my $request_file = "request_file.$$.fits";
+my $cur_dir = getcwd();
+my $request_file = "$cur_dir/request_file.$$.fits";
 {
     my $command = "$pstamprequest $request_file @ARGV";
@@ -73,5 +75,4 @@
     }
 }
-
 
 # ok at this point we have a request file add it to the database (unless we're in listMode)
@@ -95,5 +96,5 @@
 {
 
-    my $command = "$pstamptool -addreq -uri $request_file";
+    my $command = "$pstamptool -addreq -uri $request_file -out_fileset \'pstampresults/web\$REQ_ID\'";
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
         run(command => $command, verbose => $verbosity);
@@ -105,16 +106,4 @@
 }
 
-# parse the file to queue the jobs
-{
-    my $command = "$pstampparser_run $request_id";
-    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
-        run(command => $command, verbose => $verbosity);
-    unless ($success) {
-        print STDERR @$stderr_buf;
-        die("Unable to perform pstamparser_run -addreq: $error_code");
-    }
-}
-
-#                   note: $request_id still has a newline
 print "$request_id";
 
