diff --git a/scripts/prep.sh b/scripts/prep.sh
index 87a6e79246b26109115ff9c66c0a3e54e8a19f3d..e769387cdc0d8ada89bf31f3c7d9623298a6e1e1 100755
--- a/scripts/prep.sh
+++ b/scripts/prep.sh
@@ -23,13 +23,6 @@ echo "======= H1: Setting default route via R1 (i.e. 10.0.0.2) ======="
 ssh H1 ip route add default via 10.0.0.2
 sleep 1
 
-echo "======= H1 and R1: Installing tcpdump ======="
-ssh H1 apt install -y tcpdump
-sleep 1
-
-ssh R1 apt install -y tcpdump
-sleep 1
-
 echo "======= R1: Implementing NAT gateway ======="
 scp ./r1_nat.ruleset root@R1:/root
 sleep 1
@@ -37,3 +30,14 @@ ssh R1 chmod +x ./r1_nat.ruleset
 sleep 1
 ssh R1 ./r1_nat.ruleset
 sleep 1
+
+echo "======= H1 and R1: Installing tcpdump ======="
+ssh H1 apt update 
+sleep 1
+ssh H1 apt install -y tcpdump
+sleep 1
+
+ssh R1 apt update 
+sleep 1
+ssh R1 apt install -y tcpdump
+sleep 1