Index: trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
===================================================================
--- trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 23292)
+++ trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm	(revision 24831)
@@ -210,5 +210,6 @@
         my $base;
 
-        next if ($img_type eq "warp" and $image->{ignored});
+        next if $image->{fault};
+        next if ($img_type ne "raw") and $image->{quality};
 
         if ($base_name) {
@@ -542,4 +543,5 @@
     my $project_name = shift;
     my $dbname = shift;
+    my $dbserver = shift;
     die "project is not defined" if !$project_name;
 
@@ -555,4 +557,5 @@
     my $command = "$pstamptool -project -name $project_name";
     $command .= " -dbname $dbname" if defined $dbname;
+    $command .= " -dbserver $dbserver" if defined $dbserver;
     # run the tool and parse the output
     my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
