Making hostname and password parameterized