diff --git a/scram-tools.file/bin/get_tools b/scram-tools.file/bin/get_tools
index db60c0ba22c..3f5490660b0 100755
--- a/scram-tools.file/bin/get_tools
+++ b/scram-tools.file/bin/get_tools
@@ -21,6 +21,6 @@ for xml in $(find $SCRAM_TOOL_SOURCE_DIR -type f -name "*.xml") ; do
[ -f ${TOOLFILES_INSTALL_DIR}/tools/selected/$bxml ] && continue
[ -f ${TOOLFILES_INSTALL_DIR}/tools/available/$bxml ] && continue
cp $xml ${TOOLFILES_INSTALL_DIR}/tools/selected/${bxml}
- perl -p -i -e 's|\@([^@]*)\@|$ENV{$1}|g' ${TOOLFILES_INSTALL_DIR}/tools/selected/${bxml}
+ perl -p -i -e 's|\@([a-zA-Z0-9_-]*)\@|$ENV{$1}|g' ${TOOLFILES_INSTALL_DIR}/tools/selected/${bxml}
echo " Copied $bxml"
done
diff --git a/scram-tools.file/tools/gcc/gcc-cxxcompiler.xml b/scram-tools.file/tools/gcc/gcc-cxxcompiler.xml
index 497587c2002..79c01edf074 100644
--- a/scram-tools.file/tools/gcc/gcc-cxxcompiler.xml
+++ b/scram-tools.file/tools/gcc/gcc-cxxcompiler.xml
@@ -26,8 +26,8 @@
-
-
+
+
diff --git a/scram-tools.file/tools/icc/intel-license.xml b/scram-tools.file/tools/icc/intel-license.xml
index 7d6097468ab..15667d86cfe 100644
--- a/scram-tools.file/tools/icc/intel-license.xml
+++ b/scram-tools.file/tools/icc/intel-license.xml
@@ -1,3 +1,3 @@
-
+