Added other command line arguments to getedges