Optional flags, also don't delay between last command and exit
Merge pull request #2 from robgssp/master

Optional flags, also don't delay between last command and exit