edited file outputs and command line options