 
     case Farmbot.Asset.fbos_config(:os_auto_update) do
       true ->
-        Logger.success(1, "Applying OTA update")
+        Farmbot.Logger.success(1, "Applying OTA update")
         {:reply, :apply, {:apply, url}}
 
       false ->
-        Logger.info(1, "New Farmbot OS is available!")
+        Farmbot.Logger.info(1, "New Farmbot OS is available!")
         {:reply, :ignore, {:ignore, url}}
     end
   end

  end

  def handle_fwup_message({:progress, 100}) do
    Logger.success(1, "OTA Complete. Going down for reboot")
    prog = %JobProgress.Percent{percent: 100, status: :complete}

    if Process.whereis(Farmbot.BotState) do

    :ok
  end

  def handle_fwup_message({:ok, _, _info}) do
    Farmbot.Logger.success(1, "OTA Complete Going down for reboot")
    prog = %JobProgress.Percent{percent: 100, status: :complete}

    if Process.whereis(Farmbot.BotState) do
