diff --git a/ci/apptainer_by_hand.sh b/ci/apptainer_by_hand.sh
index 0d8b3cd5184e51a580fd00758d3b22d7ca9aa873..9874e756848cb372c2dcd2833857a7c87195402b 100755
--- a/ci/apptainer_by_hand.sh
+++ b/ci/apptainer_by_hand.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
 export stack=pinot-noir
-export environment=kuma-l40s
+export environment=${1:-kuma-h100}
 
 declare -A slurm_options
 slurm_options["helvetios"]="-N1 -n1 -c 36"
@@ -21,7 +21,7 @@ export CI_DATA_LT="/work/scitas-ge//$(id -un)/ci"
 export CI_DATA_ST="/scratch//$(id -un)/ci"
 
 export SQUASHFS_ID=local
-export CI_PIPELINE_ID=1337
+export CI_PIPELINE_ID=$(git rev-parse --abbrev-ref HEAD | sed -e 's|[/-@]|_|g')
 
 export GPG_KEY_ID=EDC904DCE3D2E84E