minor corrections, moving host_settings helpers into main schema file