Getting network configurations from command line rather than hard coded