add automatic naming of output file and some usage