dev in progress for network.sh script. not working now.