diff --git a/server/opt_home.R b/server/opt_home.R
index 4ceca3f35540ea41d27fc4275575eb4e25aaa1b7..4abdf40217ba5c796d7eec1f56b54bf91254e7f3 100755
--- a/server/opt_home.R
+++ b/server/opt_home.R
@@ -477,9 +477,9 @@ createWorkflows <- function(result, haveR, haveConda) {
         result <- paste0(result, "\n")
         
         result <- paste(result, "\techo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                        "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                        "\trm ~/miniconda.sh", sep = "\n")
+                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                        "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                        "\trm ./miniconda.sh", sep = "\n")
         
         result <- paste0(result, "\n")
         
@@ -538,9 +538,9 @@ createWorkflows <- function(result, haveR, haveConda) {
         result <- paste0(result, "\n")
         
         result <- paste(result, "RUN echo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                        "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                        "\trm ~/miniconda.sh", sep = "\n")
+                        "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                        "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                        "\trm ./miniconda.sh", sep = "\n")
         
         result <- paste0(result, "\n")
         
@@ -606,9 +606,9 @@ createBiocontainer <- function(result, haveR) {
     result <- paste0(result, "\n")
     
     result <- paste(result, "\techo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                    "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                    "\trm ~/miniconda.sh", sep = "\n")
+                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                    "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                    "\trm ./miniconda.sh", sep = "\n")
     
     result <- paste0(result, "\n")
     
@@ -655,9 +655,9 @@ createBiocontainer <- function(result, haveR) {
     result <- paste0(result, "\n")
     
     result <- paste(result, "RUN echo \'export PATH=/opt/conda/bin:$PATH\' > /etc/profile.d/conda.sh && \\",
-                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ~/miniconda.sh && \\",
-                    "\t/bin/bash ~/miniconda.sh -b -p /opt/conda && \\",
-                    "\trm ~/miniconda.sh", sep = "\n")
+                    "\twget --quiet https://repo.continuum.io/miniconda/Miniconda2-4.0.5-Linux-x86_64.sh -O ./miniconda.sh && \\",
+                    "\t/bin/bash ./miniconda.sh -b -p /opt/conda && \\",
+                    "\trm ./miniconda.sh", sep = "\n")
     
     result <- paste0(result, "\n")