Prevent to run in bootstrap when application running in console mode.
Merge pull request #3 from jafaripur/master

Prevent to run in bootstrap when application running in console mode.