add run flags
Merge pull request #188 from dildick/master

add run flags