Hopefully last nit picking point!

If you move these log statements into main() then when unit testing we won't have any console output.