allow passing in of hostname in sample file