diff --git a/video_prediction_tools/config_runscripts/generate_runscript.py b/video_prediction_tools/config_runscripts/generate_runscript.py
index f167dc4914e1a1024be23cde209ec89f6737a8bf..0c692c0bbfa13c552599585670bad78bc9cc8704 100644
--- a/video_prediction_tools/config_runscripts/generate_runscript.py
+++ b/video_prediction_tools/config_runscripts/generate_runscript.py
@@ -36,10 +36,10 @@ def get_runscript_cls(target_runscript_name, venv_name, lhpc):
         cls_inst = Config_Preprocess2(venv_name, lhpc)
     elif target_runscript_name == "train":
         cls_inst = Config_Train(venv_name, lhpc)
-    elif target_runscript_name == "preprocess1":
+    elif target_runscript_name == "postprocess":
         cls_inst = Config_Postprocess(venv_name, lhpc)
     else:
-        raise ValueError("%{0}: Unknown workflow runscript '{1}'. passed.")
+        raise ValueError("%{0}: Unknown workflow runscript '{1}'. passed.".format(method_name, target_runscript_name))
 
     return cls_inst
 #