added default output file name
cleanup