diff --git a/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
index 5210070e6498bcaab61b7bc58839e136183286c7..852d23bbd3305c4a5e527dde88b43d6d29e62a6f 100644
--- a/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
+++ b/archive/org.eclipse.wtp.releng/performance/src/org/eclipse/wtp/releng/tools/performance/Main.java
@@ -78,7 +78,11 @@ public class Main
       }
       if (buildType != null && buildId != null && date != null && time != null)
       {
-        BufferedWriter bw = new BufferedWriter(new FileWriter("label.properties"));
+        StringBuffer outputFile = new StringBuffer();
+        if (args.length > 0)
+          outputFile.append(args[0]);
+        outputFile.append("label.properties");
+        BufferedWriter bw = new BufferedWriter(new FileWriter(outputFile.toString()));
         bw.write("buildType=");
         bw.write(buildType);
         bw.newLine();