diff --git a/scripts/acoustics.py b/scripts/acoustics.py
index 96ba3415216ec567b7235b95938b6d98512cd248..465635bd39e6a456bede38b3f9ff20ce7a79062b 100644
--- a/scripts/acoustics.py
+++ b/scripts/acoustics.py
@@ -46,7 +46,8 @@ table=db.run_table(detid)
 
 
 ACOUSTIC_BEACONS = [12, 14, 16]
-DOM=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18] # DOMs
+N_DOMS = 18
+DOMS = range(N_DOMS + 1)
 DU=[1,2,3,4,5] # DUs
 
 #ACOUSTIC_BEACONS=[16] # Acoustic Beacons