renamed default_gw to default_gateway + minor changes