comments
fixup of testing scripts
less events and flexible input
code to stdout
selectively source cms stuff
make output dir more flexibly
fix quote issue