diff --git a/templates/real-from-d2-ana/prepare_lbc_remote.sh b/templates/real-from-d2-ana/prepare_lbc_remote.sh
index f69eb769e26960ade57d34baf1d5b3965cc265b2..94beb2685d2b104deb5115218caaec2d009b15d4 100644
--- a/templates/real-from-d2-ana/prepare_lbc_remote.sh
+++ b/templates/real-from-d2-ana/prepare_lbc_remote.sh
@@ -26,7 +26,7 @@ if [ "${LBC_DATA_IS_LOCAL}" != "True" ]; then
 
   # Load icon module
   spack load --first %ECCODES.BUILD_CMD%
-  spack load --first  %ECCODES.LOAD_CMD%
+  spack load --first  %DWDICONTOOLS.LOAD_CMD%
 
   # Set environment variable for eccodes-dwd definitions:
   source ${WORKDIR}/eccodes_defs.env