initial commit of the script

Plus minor fixes to the readme.