Fix adding of custom hooks
Fix typo
Fix code formatting
Coding standards
Revert changes from other branches that got in here by mistake
Merge pull request #4 from Nosto/fix-error-on-installation

Fix error on installation