WASTEconst.py goes one level above the toolbox directory.
diff --git a/Mac/Modules/waste/wastescan.py b/Mac/Modules/waste/wastescan.py
index bb186aa..1d7bdcb 100644
--- a/Mac/Modules/waste/wastescan.py
+++ b/Mac/Modules/waste/wastescan.py
@@ -19,7 +19,7 @@
 def main():
 	input = WASTEDIR + "WASTE.h"
 	output = SHORT + "gen.py"
-	defsoutput = TOOLBOXDIR + "WASTEconst.py"
+	defsoutput = os.path.join(os.path.split(TOOLBOXDIR)[0], "WASTEconst.py")
 	scanner = MyScanner(input, output, defsoutput)
 	scanner.scan()
 ##	scanner.gentypetest(SHORT+"typetest.py")