die on errors
Merge pull request #25 from kalyansky/master

Fix error event in flow script