diff --git a/settings.sh b/settings.sh
old mode 100644
new mode 100755
index a7be2bf4e14fd5982752d5520558f8499ce48bda..27ddb644832ce4c7be732bd8729cd586bc3cf15a
--- a/settings.sh
+++ b/settings.sh
@@ -4,3 +4,10 @@ NAME="logscale_earliest_pickup"
 SAVE_PATH="/scratch01.local/rhaag/${REQUEST_TYPE}/${NAME}/results/"
 DATA_PATH="${SAVE_PATH}data/"
 MODEL_PATH="${SAVE_PATH}model/"
+
+echo $N
+echo $REQUEST_TYPE
+echo $NAME
+echo $SAVE_PATH
+echo $DATA_PATH
+echo $MODEL_PATH
diff --git a/submit.sh b/submit.sh
index e5364f319be050936306a793e8ba113790f6145a..8783da1add73c942fa9aa390df4099dd9761e17c 100644
--- a/submit.sh
+++ b/submit.sh
@@ -7,7 +7,15 @@
 #$ -N latest_dropoff
 #$ -t 1-2400
 
-./settings.sh
+
+ARRAY=($(./settings.sh))
+N=${ARRAY[0]}
+REQUEST_TYPE=${ARRAY[1]}
+NAME=${ARRAY[2]}
+SAVE_PATH=${ARRAY[3]}
+DATA_PATH=${ARRAY[4]}
+MODEL_PATH=${ARRAY[5]}
+