     
     cmd = exports.add_ssh_connect config, cmd if config.ssh_host?
 
-    console.log "tables to dump cmd \n" + cmd
+    # console.log "tables to dump cmd \n" + cmd
 
     # Make sure you strip the new line chars
     tables_to_dump = shell.exec(cmd,
       silent: true
-    ).output
-
-    console.log "tables_to_dump\n" + tables_to_dump
-
-    tables_to_dump.replace(/(\r\n|\n|\r)/g, "")
+    ).output.replace(/(\r\n|\n|\r)/g, "")
+
+    # console.log "tables_to_dump\n" + tables_to_dump
+
     tables_to_dump.split " "
 
   
   # Run the mysqldump cmd and append the table names from exports.tables_to_dump() fn
-  exports.prefixed_sqldump = (config, tables_to_dump) ->
+  exports.build_prefixed_sqldump = (config, tables_to_dump) ->
     return false  unless tables_to_dump
     cmd = exports.mysqldump_cmd(config) + " " + tables_to_dump.join(" ")
 
-    if typeof config.ssh_host is "undefined"
-      grunt.log.oklns "Creating prefixed DUMP of local database [" + config.database + "/" + config.table_prefix + "]"
-    else
-      grunt.log.oklns "Creating prefixed DUMP of remote database [" + config.database + "/" + config.table_prefix + "]"
-      # tpl_ssh = grunt.template.process(tpls.ssh,
-      #   data:
-      #     host: config.ssh_host
-      # )
-      # cmd = tpl_ssh + " \"" + cmd + "\""
-
-    console.log "prefixed sqldump cmd\n" + cmd
+    dest = if config.ssh_host? then 'remote' else 'local'
+
+    grunt.log.oklns "Creating prefixed DUMP of " + dest + " database [" + config.database + "/" + config.table_prefix + "]"
+
+    # console.log "prefixed sqldump cmd\n" + cmd
     cmd
   
   exports.add_ssh_connect = ( config, cmd ) ->

  #==========  Caliper mods  ==========


  exports.prefixed_mysqldump_cmd = (config) ->

    prefix_matches = exports.all_table_prefix_matches(config)
    grunt.log.oklns "Prefix matches from '" + config.table_prefix + "'"

      console.log "NOT using table prefix " + config.table_prefix
      cmd = exports.mysqldump_cmd(config)
    
    grunt.log.oklns "dump command:"
    console.log cmd
    
    output = shell.exec(cmd,
      silent: true
