diff --git a/src/dispense_door_opener_lookup.sh b/src/dispense_door_opener_lookup.sh
index 3ea3340249b9dba1f386a5aef8dbbdb6396cd4e4..a79665456f4f0760355a8af05405ca355c26c29c 100755
--- a/src/dispense_door_opener_lookup.sh
+++ b/src/dispense_door_opener_lookup.sh
@@ -2,7 +2,7 @@
 # [ROY] 20250525
 set -e
 set -x
-export $(cat .env | xargs)
+source ./.env
 
 # this path should be injected as envvar; only use it as debug
 #COKELOGFILE=/home/other/coke/cokelog