updated some netbuild code