diff --git a/script/jekyll_update_orders.bash b/script/jekyll_update_orders.bash
index c71b244800b60491c7b4768492a8383f3c006866..1dfdfba2c7340ab8e4e3198a54f36e37648be00b 100644
--- a/script/jekyll_update_orders.bash
+++ b/script/jekyll_update_orders.bash
@@ -5,4 +5,5 @@ cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
 git pull
 cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange/script
 python3 get_orders.py
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
 bundle exec jekyll build
diff --git a/script/jekyll_update_prices.bash b/script/jekyll_update_prices.bash
index 30f13d1d4b2e59d3fa70254d159471589c4296b8..00558c53ef544c51bfdf8315943ed24095d5cb18 100644
--- a/script/jekyll_update_prices.bash
+++ b/script/jekyll_update_prices.bash
@@ -5,4 +5,5 @@ cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
 git pull
 cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange/script
 python3 get_prices.py
+cd /var/www/exchange.faircoin.co/p2p/p2p-fairexchange
 bundle exec jekyll build