diff --git a/build.sh b/build.sh
index 745267716afe503b3e634af30290fbdea0738317..a8784617682ad38f219793fe8826a824bbfc11b9 100755
--- a/build.sh
+++ b/build.sh
@@ -1,6 +1,7 @@
 #! /bin/bash
 
 source $HOME/.bashrc
+source $HOME/openfpm_vars_$3
 
 echo "Branch: $3"