diff --git a/groundStation/scripts/setpid_batch.sh b/groundStation/scripts/setpid_batch.sh
old mode 100644
new mode 100755
index 2525b2bce20fd9cd8b73fcbd430350dabf4dac03..3702acaece930939f40459879ed9254e556e4663
--- a/groundStation/scripts/setpid_batch.sh
+++ b/groundStation/scripts/setpid_batch.sh
@@ -2,7 +2,7 @@
 
 # Use default filename if it wasn't given at the command line
 if [ $# -eq 0 ]; then
-    filename="parameters.txt"
+    filename="scripts/parameters.txt"
 else
     filename=$1
 fi
@@ -14,4 +14,4 @@ regex='(lat|long|height|pitch|roll|yaw|pitchv|rollv|yawv) (p|i|d) ([-+]?[0-9]*\.
 awk_prog='{print "./Cli setpid" " " "--" $1 " " "-" $2 " " $3}'
 
 # Search, parse, and execute ./Cli commands
-grep -E "$regex" $filename | awk "$awk_prog" | bash
+grep -E "$regex" $filename | awk "$awk_prog" | bash
\ No newline at end of file