     Logger.info("Seconds taken: #{Date.diff(start_date,end_date, :secs)}")
   end
 
-  def process({[],_}) do
+  defp process({[],_}) do
     IO.puts "No commands given"
     print_help
   end
 
-  def process([command|_args]) do
+  defp process([command|_args]) do
 
     Logger.debug("Source: pb://#{config :src_ip}:#{config :src_port}")
     Logger.debug("Target: pb://#{config :sink_ip}:#{config :sink_port}")

    end
  end

  def queue_configure_bucket(nil), do: nil
  def queue_configure_bucket({_t, _b, idx, props}) do
    cond do
      !Keyword.has_key?(props, :search_index) ->
        Logger.info "BUCKET\tQUEUE\tQueueing bucket configuration"

######################
# Migrate Search functions

  defp migrate_type_create_indexes do
    Logger.debug "Retrieving bucket list from source"
    src_buckets = get_buckets!(:src, config :type)
    Logger.debug "Retrieving bucket list from destination"
