Index: branches/tap_branches/ppImage/src/ppImageReplaceBackground.c
===================================================================
--- branches/tap_branches/ppImage/src/ppImageReplaceBackground.c	(revision 25900)
+++ branches/tap_branches/ppImage/src/ppImageReplaceBackground.c	(revision 27838)
@@ -80,5 +80,5 @@
     // the background model has not been defined, or at least not generated
     if (!modelFile || !modelRO) {
-        if (!psphotModelBackground(config, &roView, "PPIMAGE.CHIP")) {
+        if (!psphotModelBackgroundReadoutFileIndex(config, &roView, "PPIMAGE.CHIP", 0)) {
             psError(PS_ERR_UNKNOWN, false, "Unable to model background");
             return false;
