added options to pass hosts as range