Fixing issue 1 - add host when no config exists now creates config correctly.