README accords with new world order
no global variables, and script autogenerates output filename
better output to command line, triplequotes&dict for str formatting
pep8 and removing unnecessary arg