Index: trunk/ippToPsps/jython/ipptopsps.py
===================================================================
--- trunk/ippToPsps/jython/ipptopsps.py	(revision 32039)
+++ trunk/ippToPsps/jython/ipptopsps.py	(revision 32040)
@@ -23,11 +23,22 @@
     logger.infoTitle("Queuing " + batchType + " items")
 
-    # get list of all items available in DVO
-    allIDs = gpc1Db.getIDsInThisDVODbForThisStage(DVOGPC1LABEL, batchType)
-    logger.infoPair("All %s items in DVO" % batchType, "%d" % len(allIDs))
+    allIDs = []
+
+    # see if there are any IDs listed in the config
+    try:
+        for element in configDoc.findall('options/ids/id'):
+            allIDs.append(int(element.text))
+    except:
+        logger.errorPair("Problem loading IDs from config under", "options/ids/id") 
+
+    # no config dictated IDs, so get from DVO instead
+    if len(allIDs) > 0:
+        logger.infoPair("Using config IDs (not DVO)", "%d" % len(allIDs))
+    else:
+        allIDs = gpc1Db.getIDsInThisDVODbForThisStage(DVOGPC1LABEL, batchType)
+        logger.infoPair("All %s items in DVO" % batchType, "%d" % len(allIDs))
 
     # if in FORCE mode, then queue full list
-    if FORCE: 
-        ids = allIDs
+    if FORCE: ids = allIDs
 
     # if not in TEST mode, then only queue un-processed items
