Added some more logs on the initPatterns function.
Added some use instructions.