Update pb_netconfig

Updated the pb_netconfig to be more robust