host setup script improvements