diff --git a/override_rflps_on_llrf.sh b/override_rflps_on_llrf.sh
index 7774469f42f6d255e025917a45aac25d618715e8..7a88e233aca14467b2257b55139771a971acb5cb 100755
--- a/override_rflps_on_llrf.sh
+++ b/override_rflps_on_llrf.sh
@@ -1,4 +1,4 @@
 #!/bin/bash
 
-/usr/local/bin/sis8300drv_reg /dev/sis8300-6 0xF05 -w 2
-/usr/local/bin/sis8300drv_reg /dev/sis8300-6 0xF06 -w 2
+/usr/local/bin/sis8300drv_reg /dev/sis8300-$LLRF_SLOT_1 0xF05 -w 2
+/usr/local/bin/sis8300drv_reg /dev/sis8300-$LLRF_SLOT_1 0xF06 -w 2