A strange thing happens to me. Every time I launch the application manually it works, but not always when it starts from the startupitems. Could it be that the application starts before internet is connected? Could you in that case make a function that waits a couple of seconds, if it can't connect to the internet.