updated viz to alllow more input args
fixing more segfaults