updating to parameterize additional networks and gateways