version history: 2010_04_26 - initial public release 2010_05_06 - improved output file handling (more defensive, shouldn't crash on errors) - revised readme to contain exit codes