bugfixes & new examples

* better usage of "only_workflow_geenration.py"
* new, simpler examples
* bugfixing rindex usage