diff --git a/cloc/run-cloc.sh b/cloc/run-cloc.sh
index 15422cde3c5d2fa2a1f84cf4487f72ce89380531..56f3d936b2104e98beb324036d90630975fcae53 100755
--- a/cloc/run-cloc.sh
+++ b/cloc/run-cloc.sh
@@ -6,6 +6,9 @@ then
 	:
 else
 
+# remove previous results
+rm *-result.txt
+
 #  --force-lang=Java,jrag --force-lang=Java,jadd
 DEF_FILE=my_definitions.txt
 echo "Export language definitions"
@@ -17,11 +20,14 @@ done
 echo "Running cloc with new definitions"
 #  --ignored=bad-files.txt
 CLOC_CMD="cloc --exclude-lang=JSON --read-lang-def=my_definitions.txt --exclude-list-file=.clocignore --quiet"
-$CLOC_CMD --report-file=place-result.txt ../ros3rag.place?/src/main/ja* 2>>cloc-errors.log
-$CLOC_CMD --report-file=common-result.txt ../ros3rag.common/src/main 2>>cloc-errors.log
-
-$CLOC_CMD --report-file=place-gen-result.txt ../ros3rag.place?/src/gen 2>>cloc-errors.log
-$CLOC_CMD --report-file=common-gen-result.txt ../ros3rag.common/build/generated/source/proto/main 2>>cloc-errors.log
+$CLOC_CMD --report-file=common-result.txt ../ros3rag.common/src/main/resources/jastadd ../ros3rag.common/src/main/java 2>>cloc-errors.log
+$CLOC_CMD --report-file=placeA-result.txt ../ros3rag.placeA/src/main/ja* 2>>cloc-errors.log
+$CLOC_CMD --report-file=placeB-result.txt ../ros3rag.placeB/src/main/ja* 2>>cloc-errors.log
+
+# $CLOC_CMD --report-file=base-gen-result.txt ../ros3rag.base/src/gen 2>>cloc-errors.log
+$CLOC_CMD --report-file=placeA-gen-result.txt ../ros3rag.placeA/src/gen 2>>cloc-errors.log
+$CLOC_CMD --report-file=placeB-gen-result.txt ../ros3rag.placeB/src/gen 2>>cloc-errors.log
+$CLOC_CMD --report-file=common-gen-result.txt ../ros3rag.common/build/generated/source/proto/main/java/de 2>>cloc-errors.log
 
 
 # CFC_CMD='grep -o 'if'\|'for'\|'return''