fixes #11 - adds a precommit flag
Merge pull request #12 from pitluga/precommit

fixes #11 - adds a precommit flag