diff --git a/template/script.sh.erb b/template/script.sh.erb
index ed16af71d48081e60ad16e3aa87535adfaafc6a7..e97fa3c80df294cd9cf6d88b834a3f7bbbd2ba41 100755
--- a/template/script.sh.erb
+++ b/template/script.sh.erb
@@ -37,11 +37,7 @@ module list
 
 # Launch PyCharm
 set -x
-cmd="singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \
+singularity exec --env \"DISPLAY=$DISPLAY\" -B \"/tmp/.X11-unix:/tmp/.X11-unix\" \
     <%= context.extra_singularity_args %> \
     <%= context.container_path %> \
-    pycharm"
-
-echo ${cmd}
-
-eval ${cmd}
\ No newline at end of file
+    pycharm
\ No newline at end of file