better output
cleanup
fixing casing of output file