Added some logging around startup