diff --git a/template/script.sh.erb b/template/script.sh.erb
index 5da8887bc7855cb9fd57641915b82540c38267c3..f645283c9a49d10331dfcfb534a969eab8b7554f 100755
--- a/template/script.sh.erb
+++ b/template/script.sh.erb
@@ -29,6 +29,8 @@ cd "${HOME}"
 # Load Anaconda3
 module load Anaconda3
 
+<%= context.custom_environment.gsub(/\r\n?/, "\n") %>
+
 # List loaded modules
 module list
 
@@ -39,4 +41,6 @@ set -x
 #     <%= context.container_path %> \
 #     pycharm
 
-module --ignore-cache load PyCharm/2022.3.2
\ No newline at end of file
+module --ignore-cache load PyCharm/2022.3.2
+
+pycharm.sh
\ No newline at end of file