Updated usage of log package. Fixes #10