-#ASTERDIR="/local/chris/ASTER/instals/STA8.2/astest"
-ASTERDIR="/local/chris/ASTER/instals/NEW8/astest"
-sys.path.insert(0,prefs.CODE_PATH)
+ASTERDIR={
+ "v7":"/local/chris/ASTER/instals/STA7/astest",
+ "v8":"/local/chris/ASTER/instals/STA8/astest",
+ "v9":"/local/chris/ASTER/instals/NEW9/astest",
+ }