Fix installation error and add additional output options