Add some basic logging to phone-home
Fix migration