add settings and fix for run example
Merge pull request #6 from alexband/add-settings

add settings and fix for run example