added network name argument to command line