diff --git a/src/nf_modules/BWA/indexing.config b/src/nf_modules/BWA/indexing.config
index 7f889670db9cbd56668a14dc2ca82caefadc94c4..03c2f639d41f9a30d8848b221218ff0d5f3db36b 100644
--- a/src/nf_modules/BWA/indexing.config
+++ b/src/nf_modules/BWA/indexing.config
@@ -11,15 +11,13 @@ profiles {
   psmn {
     process{
       withname: index_fasta {
-        beforeScript = "module purge; module load BWA/0.7.17"
+        beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
+        module = "BWA/0.7.17"
         executor = "sge"
         cpus = 1
-        memory = "5GB"
-        time = "6h"
-        queueSize = 1000
-        pollInterval = '60sec'
-        queue = 'h6-E5-2667v4deb128'
-        penv = 'openmp8'
+        memory = "30GB"
+        time = "12h"
+        queue = 'monointeldeb128'
       }
     }
   }
diff --git a/src/nf_modules/BWA/mapping_paired.config b/src/nf_modules/BWA/mapping_paired.config
index d9d7a826751f1768c56ebb40e9ffe069af02cf14..cbf47e278862ad0e4c5e59dba78391cccfcf631e 100644
--- a/src/nf_modules/BWA/mapping_paired.config
+++ b/src/nf_modules/BWA/mapping_paired.config
@@ -11,15 +11,14 @@ profiles {
   psmn {
     process{
       withname: mapping_fastq {
-        beforeScript = "module purge; module load BWA/0.7.17"
+        beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules"
+        module = "BWA/0.7.17"
         executor = "sge"
-        cpus = 4
-        memory = "5GB"
-        time = "6h"
-        queueSize = 1000
-        pollInterval = '60sec'
-        queue = 'h6-E5-2667v4deb128'
-        penv = 'openmp8'
+        cpus = 16
+        memory = "30GB"
+        time = "24h"
+        queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F'
+        penv = 'openmp16'
       }
     }
   }