 +
 +http*)
      log "Downloading $SRC"
--    exec_and_log "wget -O $DST_PATH $SRC"
+-    exec_and_log "$WGET -O $DST_PATH $SRC"
 +    exec_and_log "curl -k -o $DST_PATH $SRC"
      ;;
  
  *)
 diff --git a/src/tm_mad/ssh/tm_clone.sh b/src/tm_mad/ssh/tm_clone.sh
-index b853119..1e2829d 100755
+index 9e6ff36..b13eef2 100755
 --- a/src/tm_mad/ssh/tm_clone.sh
 +++ b/src/tm_mad/ssh/tm_clone.sh
-@@ -43,9 +43,24 @@ log "Creating directory $DST_DIR"
- exec_and_log "ssh $DST_HOST mkdir -p $DST_DIR"
+@@ -43,16 +43,31 @@ log "Creating directory $DST_DIR"
+ exec_and_log "$SSH $DST_HOST mkdir -p $DST_DIR"
  
  case $SRC in
 -http://*)

+
+http*)
     log "Downloading $SRC"
-    exec_and_log "ssh $DST_HOST wget -O $DST_PATH $SRC"
+    exec_and_log "ssh $DST_HOST curl -k -o $DST_PATH $SRC"
     ;;
 
 *)

diff --git a/src/tm_mad/nfs/tm_clone.sh b/src/tm_mad/nfs/tm_clone.sh
index 2bba596..603128a 100755
--- a/src/tm_mad/nfs/tm_clone.sh
+++ b/src/tm_mad/nfs/tm_clone.sh
@@ -44,9 +44,24 @@ exec_and_log "mkdir -p $DST_DIR"
