changes the output filename generated and removes some old comments