Change default key name for hostname
Fix order of setting config data