Fixes #6

Adding warning severity option