modified scripts for addnetwork workflow