diff --git a/src/nf_modules/RSEM/quantification_paired.config b/src/nf_modules/RSEM/quantification_paired.config
index 5c52dce17939d232fd1011b0fce6a2dc27ab0ba5..30e5a2a68060c71a67699888eba4ee11865bad90 100644
--- a/src/nf_modules/RSEM/quantification_paired.config
+++ b/src/nf_modules/RSEM/quantification_paired.config
@@ -11,7 +11,14 @@ profiles {
   psmn {
     process{
       withname: mapping_fastq {
-        beforeScript = "module purge; module load RSEM/1.3.0; module load SAMtools/1.7"
+        beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
+        module = "RSEM/1.3.0:SAMtools/1.7"
+        executor = "psmn"
+        cpus = 16
+        memory = "30GB"
+        time = "24h"
+        queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F'
+        penv = 'openmp16'
       }
     }
   }
diff --git a/src/nf_modules/RSEM/quantification_single.config b/src/nf_modules/RSEM/quantification_single.config
index 5c52dce17939d232fd1011b0fce6a2dc27ab0ba5..30e5a2a68060c71a67699888eba4ee11865bad90 100644
--- a/src/nf_modules/RSEM/quantification_single.config
+++ b/src/nf_modules/RSEM/quantification_single.config
@@ -11,7 +11,14 @@ profiles {
   psmn {
     process{
       withname: mapping_fastq {
-        beforeScript = "module purge; module load RSEM/1.3.0; module load SAMtools/1.7"
+        beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
+        module = "RSEM/1.3.0:SAMtools/1.7"
+        executor = "psmn"
+        cpus = 16
+        memory = "30GB"
+        time = "24h"
+        queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F'
+        penv = 'openmp16'
       }
     }
   }