add generate-hosts