Added more logging during startup