reduced code and simplified interface
Added script to generate standalone multi-exec script, and a few minor fixes.